#C0AB3A#C0AB3A
#C0AB3A is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.9% C 0.132 H 98.5°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #C0AB3A |
|---|---|
| RGB | rgb(192, 171, 58) |
| HSL | hsl(51, 54%, 49%) |
| HSV | hsv(51, 70%, 75%) |
| CMYK | cmyk(0%, 10.9%, 69.8%, 24.7%) |
| CIE-LAB | lab(69.92, -5.05, 58.23) |
| CIE-LCH | lch(69.92, 58.45, 94.96°) |
| OKLab | oklab(73.9% -0.0195 0.1301) |
| OKLCH | oklch(73.9% 0.132 98.5) |
| XYZ | xyz(37.0666, 40.6396, 9.8940) |
| Luminance | 0.4064 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.54
Brownish Yellow
#C9B003
ΔE00 4.23
Mustard (survey)
#CEB301
ΔE00 4.96
Olive Yellow
#C2B709
ΔE00 5.54
Dark Yellow
#D5B60A
ΔE00 5.84
Ocher
#BF9B0C
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0AB3A #3A4FC0
analogous
#C0683A #C0AB3A #92C03A
triadic
#C0AB3A #3AC0AB #AB3AC0
tetradic
#C0AB3A #3AC068 #3A4FC0 #C03A92
square
#C0AB3A #3AC068 #3A4FC0 #C03A92
split-complementary
#C0AB3A #3A92C0 #683AC0
monochromatic
#62571E #91812C #C0AB3A #D1C066 #DFD495
Accessibility & contrast
On white
2.30
#C0AB3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#C0AB3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0AB3A
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0AB3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0AB3A | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA72A
Deuteranopia (green-blind)
#C1AE41
Tritanopia (blue-blind)
#CF9E94
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c0ab3a; /* rgb */ color: rgb(192, 171, 58); /* oklch */ color: oklch(73.9% 0.132 98.5);
Tailwind
colors: {
custom: {
50: '#d7c377',
500: '#c0ab3a',
950: '#000000',
},
}SCSS
$custom: #c0ab3a; $custom-light: #d7c377; $custom-dark: #000000;
JSON
{
"hex": "#c0ab3a",
"rgb": {
"r": 192,
"g": 171,
"b": 58
},
"hsl": {
"h": 50.597,
"s": 53.6,
"l": 49.02
},
"oklch": {
"l": 0.73901,
"c": 0.1315,
"h": 98.5
},
"luminance": 0.40638
}Semantic roles & 50–950 ramp
primary
#C0AB3A
secondary
#8B95CA
accent
#62DD4B
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B