#C2AF55#C2AF55
#C2AF55 is a light, moderate yellow. Relative luminance 0.428; OKLCH L 75.2% C 0.113 H 97.6°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AF55 |
|---|---|
| RGB | rgb(194, 175, 85) |
| HSL | hsl(50, 47%, 55%) |
| HSV | hsv(50, 56%, 76%) |
| CMYK | cmyk(0%, 9.8%, 56.2%, 23.9%) |
| CIE-LAB | lab(71.41, -4.53, 47.91) |
| CIE-LCH | lch(71.41, 48.12, 95.40°) |
| OKLab | oklab(75.2% -0.0149 0.1119) |
| OKLCH | oklch(75.2% 0.113 97.6) |
| XYZ | xyz(39.2192, 42.7868, 14.7854) |
| Luminance | 0.4279 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.53
Darkkhaki
#BDB76B
ΔE00 4.84
Sandy Brown
#C4A661
ΔE00 5.63
Tan (survey)
#D1B26F
ΔE00 6.17
Muddy Yellow
#BFAC05
ΔE00 6.59
Khaki (survey)
#AAA662
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AF55 #5568C2
analogous
#C27855 #C2AF55 #9FC255
triadic
#C2AF55 #55C2AF #AF55C2
tetradic
#C2AF55 #55C278 #5568C2 #C2559F
square
#C2AF55 #55C278 #5568C2 #C2559F
split-complementary
#C2AF55 #559FC2 #7855C2
monochromatic
#736629 #A08E3A #C2AF55 #D2C482 #E2D9AF
Accessibility & contrast
On white
2.20
#C2AF55 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#C2AF55 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AF55
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AF55 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AF55 | 1.00 | 2.20 | 9.56 | 9.56 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAB4C
Deuteranopia (green-blind)
#C3B259
Tritanopia (blue-blind)
#D0A49B
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c2af55; /* rgb */ color: rgb(194, 175, 85); /* oklch */ color: oklch(75.2% 0.113 97.6);
Tailwind
colors: {
custom: {
50: '#d7c688',
500: '#c2af55',
950: '#000000',
},
}SCSS
$custom: #c2af55; $custom-light: #d7c688; $custom-dark: #000000;
JSON
{
"hex": "#c2af55",
"rgb": {
"r": 194,
"g": 175,
"b": 85
},
"hsl": {
"h": 49.541,
"s": 47.186,
"l": 54.706
},
"oklch": {
"l": 0.75201,
"c": 0.11291,
"h": 97.6
},
"luminance": 0.42785
}Semantic roles & 50–950 ramp
primary
#C2AF55
secondary
#A2AAD0
accent
#68D751
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C