#C0AF4E#C0AF4E
#C0AF4E is a light, moderate yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.119 H 99.5°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #C0AF4E |
|---|---|
| RGB | rgb(192, 175, 78) |
| HSL | hsl(51, 48%, 53%) |
| HSV | hsv(51, 59%, 75%) |
| CMYK | cmyk(0%, 8.9%, 59.4%, 24.7%) |
| CIE-LAB | lab(71.16, -5.91, 50.87) |
| CIE-LCH | lch(71.16, 51.21, 96.62°) |
| OKLab | oklab(74.94% -0.0196 0.1175) |
| OKLCH | oklch(74.94% 0.119 99.5) |
| XYZ | xyz(38.4448, 42.4181, 13.3687) |
| Luminance | 0.4242 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.08
Desert
#CCAD60
ΔE00 5.63
Muddy Yellow
#BFAC05
ΔE00 5.63
Brownish Yellow
#C9B003
ΔE00 6.22
Olive Yellow
#C2B709
ΔE00 6.52
Sandy Brown
#C4A661
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0AF4E #4E5FC0
analogous
#C0764E #C0AF4E #98C04E
triadic
#C0AF4E #4EC0AF #AF4EC0
tetradic
#C0AF4E #4EC076 #4E5FC0 #C04E98
square
#C0AF4E #4EC076 #4E5FC0 #C04E98
split-complementary
#C0AF4E #4E98C0 #764EC0
monochromatic
#6D6227 #9A8B37 #C0AF4E #D0C37B #E0D8A8
Accessibility & contrast
On white
2.21
#C0AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.48
#C0AF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0AF4E
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0AF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0AF4E | 1.00 | 2.21 | 9.48 | 9.48 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAB44
Deuteranopia (green-blind)
#C3B153
Tritanopia (blue-blind)
#CEA49A
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c0af4e; /* rgb */ color: rgb(192, 175, 78); /* oklch */ color: oklch(74.9% 0.119 99.5);
Tailwind
colors: {
custom: {
50: '#d6c683',
500: '#c0af4e',
950: '#000000',
},
}SCSS
$custom: #c0af4e; $custom-light: #d6c683; $custom-dark: #000000;
JSON
{
"hex": "#c0af4e",
"rgb": {
"r": 192,
"g": 175,
"b": 78
},
"hsl": {
"h": 51.053,
"s": 47.5,
"l": 52.941
},
"oklch": {
"l": 0.74935,
"c": 0.11911,
"h": 99.5
},
"luminance": 0.42416
}Semantic roles & 50–950 ramp
primary
#C0AF4E
secondary
#9CA4CE
accent
#65D751
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C