#C0AB2F#C0AB2F
#C0AB2F is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.138 H 99.2°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #C0AB2F |
|---|---|
| RGB | rgb(192, 171, 47) |
| HSL | hsl(51, 61%, 47%) |
| HSV | hsv(51, 76%, 75%) |
| CMYK | cmyk(0%, 10.9%, 75.5%, 24.7%) |
| CIE-LAB | lab(69.85, -5.58, 62.29) |
| CIE-LCH | lch(69.85, 62.54, 95.11°) |
| OKLab | oklab(73.82% -0.0221 0.1366) |
| OKLCH | oklch(73.82% 0.138 99.2) |
| XYZ | xyz(36.8160, 40.5393, 8.5744) |
| Luminance | 0.4054 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.45
Brownish Yellow
#C9B003
ΔE00 3.29
Mustard (survey)
#CEB301
ΔE00 4.14
Olive Yellow
#C2B709
ΔE00 4.80
Dark Yellow
#D5B60A
ΔE00 5.19
Mustard Yellow
#D2BD0A
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0AB2F #2F44C0
analogous
#C0622F #C0AB2F #8DC02F
triadic
#C0AB2F #2FC0AB #AB2FC0
tetradic
#C0AB2F #2FC062 #2F44C0 #C02F8D
square
#C0AB2F #2FC062 #2F44C0 #C02F8D
split-complementary
#C0AB2F #2F8DC0 #622FC0
monochromatic
#5E5317 #8F7F23 #C0AB2F #D6C356 #E2D588
Accessibility & contrast
On white
2.31
#C0AB2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#C0AB2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0AB2F
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0AB2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0AB2F | 1.00 | 2.31 | 9.11 | 9.11 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA616
Deuteranopia (green-blind)
#C2AE37
Tritanopia (blue-blind)
#CF9E93
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c0ab2f; /* rgb */ color: rgb(192, 171, 47); /* oklch */ color: oklch(73.8% 0.138 99.2);
Tailwind
colors: {
custom: {
50: '#d7c371',
500: '#c0ab2f',
950: '#000000',
},
}SCSS
$custom: #c0ab2f; $custom-light: #d7c371; $custom-dark: #000000;
JSON
{
"hex": "#c0ab2f",
"rgb": {
"r": 192,
"g": 171,
"b": 47
},
"hsl": {
"h": 51.31,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.73823,
"c": 0.13839,
"h": 99.2
},
"luminance": 0.40538
}Semantic roles & 50–950 ramp
primary
#C0AB2F
secondary
#7F8ACB
accent
#5BE444
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B