#C0AF3C#C0AF3C
#C0AF3C is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.8% C 0.133 H 100.8°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #C0AF3C |
|---|---|
| RGB | rgb(192, 175, 60) |
| HSL | hsl(52, 52%, 49%) |
| HSV | hsv(52, 69%, 75%) |
| CMYK | cmyk(0%, 8.9%, 68.7%, 24.7%) |
| CIE-LAB | lab(71.00, -7.05, 58.52) |
| CIE-LCH | lch(71.00, 58.94, 96.87°) |
| OKLab | oklab(74.76% -0.0249 0.131) |
| OKLCH | oklch(74.76% 0.133 100.8) |
| XYZ | xyz(37.8855, 42.1943, 10.4228) |
| Luminance | 0.4219 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.49
Brownish Yellow
#C9B003
ΔE00 4.29
Olive Yellow
#C2B709
ΔE00 4.53
Mustard (survey)
#CEB301
ΔE00 4.95
Dark Yellow
#D5B60A
ΔE00 5.88
Mustard Yellow
#D2BD0A
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0AF3C #3C4DC0
analogous
#C06D3C #C0AF3C #8FC03C
triadic
#C0AF3C #3CC0AF #AF3CC0
tetradic
#C0AF3C #3CC06D #3C4DC0 #C03C8F
square
#C0AF3C #3CC06D #3C4DC0 #C03C8F
split-complementary
#C0AF3C #3C8FC0 #6D3CC0
monochromatic
#635A1F #91852D #C0AF3C #D0C369 #DFD698
Accessibility & contrast
On white
2.22
#C0AF3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#C0AF3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0AF3C
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0AF3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0AF3C | 1.00 | 2.22 | 9.44 | 9.44 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA2C
Deuteranopia (green-blind)
#C4B143
Tritanopia (blue-blind)
#CFA398
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c0af3c; /* rgb */ color: rgb(192, 175, 60); /* oklch */ color: oklch(74.8% 0.133 100.8);
Tailwind
colors: {
custom: {
50: '#d6c678',
500: '#c0af3c',
950: '#000000',
},
}SCSS
$custom: #c0af3c; $custom-light: #d6c678; $custom-dark: #000000;
JSON
{
"hex": "#c0af3c",
"rgb": {
"r": 192,
"g": 175,
"b": 60
},
"hsl": {
"h": 52.273,
"s": 52.381,
"l": 49.412
},
"oklch": {
"l": 0.74764,
"c": 0.13337,
"h": 100.8
},
"luminance": 0.42193
}Semantic roles & 50–950 ramp
primary
#C0AF3C
secondary
#8D95CA
accent
#5FDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B