#C0AF3D#C0AF3D
#C0AF3D is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.8% C 0.133 H 100.7°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #C0AF3D |
|---|---|
| RGB | rgb(192, 175, 61) |
| HSL | hsl(52, 52%, 50%) |
| HSV | hsv(52, 68%, 75%) |
| CMYK | cmyk(0%, 8.9%, 68.2%, 24.7%) |
| CIE-LAB | lab(71.01, -6.99, 58.12) |
| CIE-LCH | lch(71.01, 58.54, 96.86°) |
| OKLab | oklab(74.77% -0.0246 0.1304) |
| OKLCH | oklch(74.77% 0.133 100.7) |
| XYZ | xyz(37.9122, 42.2050, 10.5634) |
| Luminance | 0.4220 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.59
Brownish Yellow
#C9B003
ΔE00 4.38
Olive Yellow
#C2B709
ΔE00 4.62
Mustard (survey)
#CEB301
ΔE00 5.04
Dark Yellow
#D5B60A
ΔE00 5.94
Mustard Yellow
#D2BD0A
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0AF3D #3D4EC0
analogous
#C06E3D #C0AF3D #8FC03D
triadic
#C0AF3D #3DC0AF #AF3DC0
tetradic
#C0AF3D #3DC06E #3D4EC0 #C03D8F
square
#C0AF3D #3DC06E #3D4EC0 #C03D8F
split-complementary
#C0AF3D #3D8FC0 #6E3DC0
monochromatic
#635A1F #92852E #C0AF3D #D0C36A #DFD699
Accessibility & contrast
On white
2.22
#C0AF3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#C0AF3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0AF3D
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0AF3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0AF3D | 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)
#BFAA2D
Deuteranopia (green-blind)
#C4B144
Tritanopia (blue-blind)
#CEA398
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c0af3d; /* rgb */ color: rgb(192, 175, 61); /* oklch */ color: oklch(74.8% 0.133 100.7);
Tailwind
colors: {
custom: {
50: '#d6c679',
500: '#c0af3d',
950: '#000000',
},
}SCSS
$custom: #c0af3d; $custom-light: #d6c679; $custom-dark: #000000;
JSON
{
"hex": "#c0af3d",
"rgb": {
"r": 192,
"g": 175,
"b": 61
},
"hsl": {
"h": 52.214,
"s": 51.779,
"l": 49.608
},
"oklch": {
"l": 0.74772,
"c": 0.13266,
"h": 100.7
},
"luminance": 0.42203
}Semantic roles & 50–950 ramp
primary
#C0AF3D
secondary
#8E96CA
accent
#5FDB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B