#C0AF3F#C0AF3F
#C0AF3F is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.8% C 0.131 H 100.6°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #C0AF3F |
|---|---|
| RGB | rgb(192, 175, 63) |
| HSL | hsl(52, 51%, 50%) |
| HSV | hsv(52, 67%, 75%) |
| CMYK | cmyk(0%, 8.9%, 67.2%, 24.7%) |
| CIE-LAB | lab(71.03, -6.88, 57.32) |
| CIE-LCH | lch(71.03, 57.73, 96.85°) |
| OKLab | oklab(74.79% -0.0241 0.129) |
| OKLCH | oklch(74.79% 0.131 100.6) |
| XYZ | xyz(37.9670, 42.2270, 10.8524) |
| Luminance | 0.4223 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.81
Brownish Yellow
#C9B003
ΔE00 4.57
Olive Yellow
#C2B709
ΔE00 4.81
Mustard (survey)
#CEB301
ΔE00 5.21
Dark Yellow
#D5B60A
ΔE00 6.09
Mustard Yellow
#D2BD0A
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0AF3F #3F50C0
analogous
#C06F3F #C0AF3F #90C03F
triadic
#C0AF3F #3FC0AF #AF3FC0
tetradic
#C0AF3F #3FC06F #3F50C0 #C03F90
square
#C0AF3F #3FC06F #3F50C0 #C03F90
split-complementary
#C0AF3F #3F90C0 #6F3FC0
monochromatic
#645B21 #928530 #C0AF3F #CFC26D #DED59B
Accessibility & contrast
On white
2.22
#C0AF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.45
#C0AF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0AF3F
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0AF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0AF3F | 1.00 | 2.22 | 9.45 | 9.45 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA30
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#CEA398
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c0af3f; /* rgb */ color: rgb(192, 175, 63); /* oklch */ color: oklch(74.8% 0.131 100.6);
Tailwind
colors: {
custom: {
50: '#d6c67a',
500: '#c0af3f',
950: '#000000',
},
}SCSS
$custom: #c0af3f; $custom-light: #d6c67a; $custom-dark: #000000;
JSON
{
"hex": "#c0af3f",
"rgb": {
"r": 192,
"g": 175,
"b": 63
},
"hsl": {
"h": 52.093,
"s": 50.588,
"l": 50
},
"oklch": {
"l": 0.74789,
"c": 0.13121,
"h": 100.6
},
"luminance": 0.42225
}Semantic roles & 50–950 ramp
primary
#C0AF3F
secondary
#9198CA
accent
#60DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C