#C0AB46#C0AB46
#C0AB46 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.0% C 0.123 H 97.5°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #C0AB46 |
|---|---|
| RGB | rgb(192, 171, 70) |
| HSL | hsl(50, 49%, 51%) |
| HSV | hsv(50, 64%, 75%) |
| CMYK | cmyk(0%, 10.9%, 63.5%, 24.7%) |
| CIE-LAB | lab(70.02, -4.35, 53.24) |
| CIE-LCH | lch(70.02, 53.42, 94.67°) |
| OKLab | oklab(74.01% -0.016 0.1215) |
| OKLCH | oklch(74.01% 0.123 97.5) |
| XYZ | xyz(37.4082, 40.7762, 11.6933) |
| Luminance | 0.4077 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.96
Desert
#CCAD60
ΔE00 5.28
Brownish Yellow
#C9B003
ΔE00 5.52
Mustard (survey)
#CEB301
ΔE00 6.14
Sandy Brown
#C4A661
ΔE00 6.25
Darkkhaki
#BDB76B
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0AB46 #465BC0
analogous
#C06E46 #C0AB46 #98C046
triadic
#C0AB46 #46C0AB #AB46C0
tetradic
#C0AB46 #46C06E #465BC0 #C04698
square
#C0AB46 #46C06E #465BC0 #C04698
split-complementary
#C0AB46 #4698C0 #6E46C0
monochromatic
#685C23 #968533 #C0AB46 #D0C074 #DFD4A1
Accessibility & contrast
On white
2.29
#C0AB46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.15
#C0AB46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0AB46
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0AB46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0AB46 | 1.00 | 2.29 | 9.15 | 9.15 |
| #FFFFFF | 2.29 | 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)
#BBA73A
Deuteranopia (green-blind)
#C0AE4B
Tritanopia (blue-blind)
#CE9F95
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c0ab46; /* rgb */ color: rgb(192, 171, 70); /* oklch */ color: oklch(74.0% 0.123 97.5);
Tailwind
colors: {
custom: {
50: '#d6c37e',
500: '#c0ab46',
950: '#000000',
},
}SCSS
$custom: #c0ab46; $custom-light: #d6c37e; $custom-dark: #000000;
JSON
{
"hex": "#c0ab46",
"rgb": {
"r": 192,
"g": 171,
"b": 70
},
"hsl": {
"h": 49.672,
"s": 49.194,
"l": 51.373
},
"oklch": {
"l": 0.74008,
"c": 0.12251,
"h": 97.5
},
"luminance": 0.40774
}Semantic roles & 50–950 ramp
primary
#C0AB46
secondary
#969FCC
accent
#67D94F
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C