#C0AB42#C0AB42
#C0AB42 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.0% C 0.126 H 97.9°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #C0AB42 |
|---|---|
| RGB | rgb(192, 171, 66) |
| HSL | hsl(50, 50%, 51%) |
| HSV | hsv(50, 66%, 75%) |
| CMYK | cmyk(0%, 10.9%, 65.6%, 24.7%) |
| CIE-LAB | lab(69.98, -4.60, 54.96) |
| CIE-LCH | lch(69.98, 55.15, 94.79°) |
| OKLab | oklab(73.97% -0.0173 0.1245) |
| OKLCH | oklch(73.97% 0.126 97.9) |
| XYZ | xyz(37.2862, 40.7274, 11.0504) |
| Luminance | 0.4073 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.46
Brownish Yellow
#C9B003
ΔE00 5.06
Desert
#CCAD60
ΔE00 5.67
Mustard (survey)
#CEB301
ΔE00 5.71
Olive Yellow
#C2B709
ΔE00 6.26
Ocher
#BF9B0C
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0AB42 #4257C0
analogous
#C06C42 #C0AB42 #96C042
triadic
#C0AB42 #42C0AB #AB42C0
tetradic
#C0AB42 #42C06C #4257C0 #C04296
square
#C0AB42 #42C06C #4257C0 #C04296
split-complementary
#C0AB42 #4296C0 #6C42C0
monochromatic
#665A22 #948331 #C0AB42 #CFBF70 #DFD49E
Accessibility & contrast
On white
2.30
#C0AB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.15
#C0AB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0AB42
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0AB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0AB42 | 1.00 | 2.30 | 9.15 | 9.15 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA735
Deuteranopia (green-blind)
#C1AE48
Tritanopia (blue-blind)
#CF9F95
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c0ab42; /* rgb */ color: rgb(192, 171, 66); /* oklch */ color: oklch(74.0% 0.126 97.9);
Tailwind
colors: {
custom: {
50: '#d6c37b',
500: '#c0ab42',
950: '#000000',
},
}SCSS
$custom: #c0ab42; $custom-light: #d6c37b; $custom-dark: #000000;
JSON
{
"hex": "#c0ab42",
"rgb": {
"r": 192,
"g": 171,
"b": 66
},
"hsl": {
"h": 50,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.7397,
"c": 0.12567,
"h": 97.9
},
"luminance": 0.40726
}Semantic roles & 50–950 ramp
primary
#C0AB42
secondary
#939CCB
accent
#65DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C