#C8A151

#c8a151 ≈ Indian Yellow

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#c8a151 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 78.43% red, 63.14% green and 31.76% blue; printed in CMYK it uses 0% cyan, 19.5% magenta, 59.5% yellow and 21.57% black. Its hue angle is 40.34°, with 51.97% saturation and 55.1% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 8.67:1 (WCAG AAA). The closest named color is Indian Yellow (#e3a857), ΔE 6.44.

Description generated from the measured properties of this color.

Conversions of #c8a151 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc9966
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.3836

Readable text 2.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a6a6a6 ≈ 0.003% of males
Achromatomaly #b5a48c ≈ 0.001% of males
Protanopia #b2a149 ≈ 1.01% of males
Deuteranopia #bcab54 ≈ 1.27% of males
Tritanopia #d7958f ≈ 0.0001% of males
Protanomaly #bba14c ≈ 1.08% of males
Deuteranomaly #c1a753 ≈ 4.63% of males
Tritanomaly #d19a7b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c8a151 {
  color: #c8a151;
}
Background
.bg-c8a151 {
  background-color: #c8a151;
  color: #000000;
}
Border
.border-c8a151 {
  border: 2px solid #c8a151;
}
CSS variables
:root {
  --color-primary: #c8a151;
  --color-primary-rgb: 200 161 81;
  --color-primary-hsl: 40 52% 55%;
}
Gradient
.gradient-c8a151 {
  background: linear-gradient(135deg, #c8a151, #b3c851);
}
Colored shadow
.shadow-c8a151 {
  box-shadow: 0 8px 24px rgb(200 161 81 / 0.35);
}

Indian Yellow
#c8a151  rgb(200, 161, 81)  hsl(40, 52%, 55%)  Indian Yellow
#5178c8  rgb(81, 120, 200)  hsl(220, 52%, 55%)  Glaucous
#51c8a1  rgb(81, 200, 161)  hsl(160, 52%, 55%)  Medium Aquamarine
#a151c8  rgb(161, 81, 200)  hsl(280, 52%, 55%)  Purpureus