#C0A231#C0A231
#C0A231 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.9% C 0.131 H 93.5°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #C0A231 |
|---|---|
| RGB | rgb(192, 162, 49) |
| HSL | hsl(47, 59%, 47%) |
| HSV | hsv(47, 74%, 75%) |
| CMYK | cmyk(0%, 15.6%, 74.5%, 24.7%) |
| CIE-LAB | lab(67.48, -0.71, 59.32) |
| CIE-LCH | lch(67.48, 59.32, 90.69°) |
| OKLab | oklab(71.95% -0.0081 0.1307) |
| OKLCH | oklch(71.95% 0.131 93.5) |
| XYZ | xyz(35.2149, 37.2709, 8.2443) |
| Luminance | 0.3727 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.05
Ocre
#C69C04
ΔE00 3.99
Brown Yellow
#B29705
ΔE00 4.16
Dark Gold
#B59410
ΔE00 4.38
Yellow Brown
#B79400
ΔE00 4.60
Yellow Ochre
#CB9D06
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0A231 #314FC0
analogous
#C05B31 #C0A231 #96C031
triadic
#C0A231 #31C0A2 #A231C0
tetradic
#C0A231 #31C05B #314FC0 #C03196
square
#C0A231 #31C05B #314FC0 #C03196
split-complementary
#C0A231 #3196C0 #5B31C0
monochromatic
#5E5018 #8F7925 #C0A231 #D5BB59 #E1CF8A
Accessibility & contrast
On white
2.48
#C0A231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.45
#C0A231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0A231
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0A231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0A231 | 1.00 | 2.48 | 8.45 | 8.45 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F1E
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#D0958C
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #c0a231; /* rgb */ color: rgb(192, 162, 49); /* oklch */ color: oklch(71.9% 0.131 93.5);
Tailwind
colors: {
custom: {
50: '#d7bd71',
500: '#c0a231',
950: '#000000',
},
}SCSS
$custom: #c0a231; $custom-light: #d7bd71; $custom-dark: #000000;
JSON
{
"hex": "#c0a231",
"rgb": {
"r": 192,
"g": 162,
"b": 49
},
"hsl": {
"h": 47.413,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.71949,
"c": 0.13093,
"h": 93.5
},
"luminance": 0.37269
}Semantic roles & 50–950 ramp
primary
#C0A231
secondary
#8291CB
accent
#66E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B