#C7AB41#C7AB41
#C7AB41 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.6% C 0.127 H 94.2°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #C7AB41 |
|---|---|
| RGB | rgb(199, 171, 65) |
| HSL | hsl(47, 54%, 52%) |
| HSV | hsv(47, 67%, 78%) |
| CMYK | cmyk(0%, 14.1%, 67.3%, 22%) |
| CIE-LAB | lab(70.63, -1.63, 56.27) |
| CIE-LCH | lch(70.63, 56.29, 91.66°) |
| OKLab | oklab(74.63% -0.0093 0.1269) |
| OKLCH | oklch(74.63% 0.127 94.2) |
| XYZ | xyz(39.0722, 41.6517, 10.9816) |
| Luminance | 0.4165 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.69
Mustard
#DBB42C
ΔE00 4.88
Brownish Yellow
#C9B003
ΔE00 4.89
Muddy Yellow
#BFAC05
ΔE00 5.07
Burnt Yellow
#D5AB09
ΔE00 5.23
Mustard (survey)
#CEB301
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7AB41 #415DC7
analogous
#C76841 #C7AB41 #A0C741
triadic
#C7AB41 #41C7AB #AB41C7
tetradic
#C7AB41 #41C768 #415DC7 #C741A0
square
#C7AB41 #41C768 #415DC7 #C741A0
split-complementary
#C7AB41 #41A0C7 #6841C7
monochromatic
#6D5D20 #9D862E #C7AB41 #D5C070 #E3D5A0
Accessibility & contrast
On white
2.25
#C7AB41 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.33
#C7AB41 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7AB41
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7AB41 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7AB41 | 1.00 | 2.25 | 9.33 | 9.33 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA834
Deuteranopia (green-blind)
#C3B046
Tritanopia (blue-blind)
#D79E95
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c7ab41; /* rgb */ color: rgb(199, 171, 65); /* oklch */ color: oklch(74.6% 0.127 94.2);
Tailwind
colors: {
custom: {
50: '#dbc37b',
500: '#c7ab41',
950: '#000000',
},
}SCSS
$custom: #c7ab41; $custom-light: #dbc37b; $custom-dark: #000000;
JSON
{
"hex": "#c7ab41",
"rgb": {
"r": 199,
"g": 171,
"b": 65
},
"hsl": {
"h": 47.463,
"s": 54.472,
"l": 51.765
},
"oklch": {
"l": 0.74632,
"c": 0.12721,
"h": 94.2
},
"luminance": 0.4165
}Semantic roles & 50–950 ramp
primary
#C7AB41
secondary
#95A1CF
accent
#69DE4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C