#C0A938#C0A938
#C0A938 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.5% C 0.131 H 97.4°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #C0A938 |
|---|---|
| RGB | rgb(192, 169, 56) |
| HSL | hsl(50, 55%, 49%) |
| HSV | hsv(50, 71%, 75%) |
| CMYK | cmyk(0%, 12%, 70.8%, 24.7%) |
| CIE-LAB | lab(69.38, -4.10, 58.48) |
| CIE-LCH | lch(69.38, 58.62, 94.01°) |
| OKLab | oklab(73.46% -0.017 0.1302) |
| OKLCH | oklch(73.46% 0.131 97.4) |
| XYZ | xyz(36.6418, 39.8698, 9.5062) |
| Luminance | 0.3987 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.71
Brownish Yellow
#C9B003
ΔE00 4.31
Mustard (survey)
#CEB301
ΔE00 5.05
Ocher
#BF9B0C
ΔE00 5.38
Brown Yellow
#B29705
ΔE00 5.69
Dark Yellow
#D5B60A
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0A938 #384FC0
analogous
#C06538 #C0A938 #93C038
triadic
#C0A938 #38C0A9 #A938C0
tetradic
#C0A938 #38C065 #384FC0 #C03893
square
#C0A938 #38C065 #384FC0 #C03893
split-complementary
#C0A938 #3893C0 #6538C0
monochromatic
#61561C #917F2A #C0A938 #D2BF64 #DFD393
Accessibility & contrast
On white
2.34
#C0A938 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#C0A938 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0A938
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0A938 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0A938 | 1.00 | 2.34 | 8.97 | 8.97 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA527
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#CF9C92
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #c0a938; /* rgb */ color: rgb(192, 169, 56); /* oklch */ color: oklch(73.5% 0.131 97.4);
Tailwind
colors: {
custom: {
50: '#d7c275',
500: '#c0a938',
950: '#000000',
},
}SCSS
$custom: #c0a938; $custom-light: #d7c275; $custom-dark: #000000;
JSON
{
"hex": "#c0a938",
"rgb": {
"r": 192,
"g": 169,
"b": 56
},
"hsl": {
"h": 49.853,
"s": 54.839,
"l": 48.627
},
"oklch": {
"l": 0.73464,
"c": 0.13132,
"h": 97.4
},
"luminance": 0.39868
}Semantic roles & 50–950 ramp
primary
#C0A938
secondary
#8994CB
accent
#63DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B