#C0AB4F#C0AB4F
#C0AB4F is a light, moderate yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.115 H 96.6°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #C0AB4F |
|---|---|
| RGB | rgb(192, 171, 79) |
| HSL | hsl(49, 47%, 53%) |
| HSV | hsv(49, 59%, 75%) |
| CMYK | cmyk(0%, 10.9%, 58.9%, 24.7%) |
| CIE-LAB | lab(70.10, -3.73, 49.21) |
| CIE-LCH | lch(70.10, 49.36, 94.33°) |
| OKLab | oklab(74.1% -0.0132 0.1141) |
| OKLCH | oklch(74.1% 0.115 96.6) |
| XYZ | xyz(37.7139, 40.8985, 13.3033) |
| Luminance | 0.4090 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.38
Sandy Brown
#C4A661
ΔE00 5.22
Darkkhaki
#BDB76B
ΔE00 5.88
Muddy Yellow
#BFAC05
ΔE00 6.19
Tan (survey)
#D1B26F
ΔE00 6.38
Brownish Yellow
#C9B003
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0AB4F #4F64C0
analogous
#C0734F #C0AB4F #9CC04F
triadic
#C0AB4F #4FC0AB #AB4FC0
tetradic
#C0AB4F #4FC073 #4F64C0 #C04F9C
square
#C0AB4F #4FC073 #4F64C0 #C04F9C
split-complementary
#C0AB4F #4F9CC0 #734FC0
monochromatic
#6D6027 #9A8837 #C0AB4F #D0C17C #E0D6A9
Accessibility & contrast
On white
2.29
#C0AB4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#C0AB4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0AB4F
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0AB4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0AB4F | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA746
Deuteranopia (green-blind)
#C0AE53
Tritanopia (blue-blind)
#CEA097
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c0ab4f; /* rgb */ color: rgb(192, 171, 79); /* oklch */ color: oklch(74.1% 0.115 96.6);
Tailwind
colors: {
custom: {
50: '#d6c383',
500: '#c0ab4f',
950: '#000000',
},
}SCSS
$custom: #c0ab4f; $custom-light: #d6c383; $custom-dark: #000000;
JSON
{
"hex": "#c0ab4f",
"rgb": {
"r": 192,
"g": 171,
"b": 79
},
"hsl": {
"h": 48.85,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.74104,
"c": 0.11484,
"h": 96.6
},
"luminance": 0.40897
}Semantic roles & 50–950 ramp
primary
#C0AB4F
secondary
#9DA6CE
accent
#6AD751
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C