#C2AF4E#C2AF4E
#C2AF4E is a light, moderate yellow. Relative luminance 0.427; OKLCH L 75.1% C 0.119 H 98.3°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AF4E |
|---|---|
| RGB | rgb(194, 175, 78) |
| HSL | hsl(50, 49%, 53%) |
| HSV | hsv(50, 60%, 76%) |
| CMYK | cmyk(0%, 9.8%, 59.8%, 23.9%) |
| CIE-LAB | lab(71.34, -5.05, 51.12) |
| CIE-LCH | lch(71.34, 51.37, 95.65°) |
| OKLab | oklab(75.12% -0.0173 0.118) |
| OKLCH | oklch(75.12% 0.119 98.3) |
| XYZ | xyz(38.9548, 42.6810, 13.3926) |
| Luminance | 0.4268 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 5.16
Darkkhaki
#BDB76B
ΔE00 5.42
Muddy Yellow
#BFAC05
ΔE00 5.60
Brownish Yellow
#C9B003
ΔE00 6.02
Sandy Brown
#C4A661
ΔE00 6.36
Mustard (survey)
#CEB301
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AF4E #4E61C2
analogous
#C2754E #C2AF4E #9BC24E
triadic
#C2AF4E #4EC2AF #AF4EC2
tetradic
#C2AF4E #4EC275 #4E61C2 #C24E9B
square
#C2AF4E #4EC275 #4E61C2 #C24E9B
split-complementary
#C2AF4E #4E9BC2 #754EC2
monochromatic
#6F6326 #9D8C36 #C2AF4E #D2C47C #E1D8A9
Accessibility & contrast
On white
2.20
#C2AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#C2AF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AF4E
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AF4E | 1.00 | 2.20 | 9.54 | 9.54 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAB44
Deuteranopia (green-blind)
#C4B253
Tritanopia (blue-blind)
#D0A39A
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c2af4e; /* rgb */ color: rgb(194, 175, 78); /* oklch */ color: oklch(75.1% 0.119 98.3);
Tailwind
colors: {
custom: {
50: '#d7c683',
500: '#c2af4e',
950: '#000000',
},
}SCSS
$custom: #c2af4e; $custom-light: #d7c683; $custom-dark: #000000;
JSON
{
"hex": "#c2af4e",
"rgb": {
"r": 194,
"g": 175,
"b": 78
},
"hsl": {
"h": 50.172,
"s": 48.739,
"l": 53.333
},
"oklch": {
"l": 0.7512,
"c": 0.11923,
"h": 98.3
},
"luminance": 0.42679
}Semantic roles & 50–950 ramp
primary
#C2AF4E
secondary
#9DA5CF
accent
#66D850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C