#C2AF5A#C2AF5A
#C2AF5A is a light, moderate yellow. Relative luminance 0.429; OKLCH L 75.3% C 0.108 H 97.0°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AF5A |
|---|---|
| RGB | rgb(194, 175, 90) |
| HSL | hsl(49, 46%, 56%) |
| HSV | hsv(49, 54%, 76%) |
| CMYK | cmyk(0%, 9.8%, 53.6%, 23.9%) |
| CIE-LAB | lab(71.47, -4.12, 45.55) |
| CIE-LCH | lch(71.47, 45.74, 95.17°) |
| OKLab | oklab(75.26% -0.0131 0.1073) |
| OKLCH | oklch(75.26% 0.108 97) |
| XYZ | xyz(39.4249, 42.8691, 15.8687) |
| Luminance | 0.4287 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.13
Darkkhaki
#BDB76B
ΔE00 4.51
Sandy Brown
#C4A661
ΔE00 5.13
Tan (survey)
#D1B26F
ΔE00 5.62
Sandstone
#C9AE74
ΔE00 6.11
Khaki (survey)
#AAA662
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AF5A #5A6DC2
analogous
#C27B5A #C2AF5A #A1C25A
triadic
#C2AF5A #5AC2AF #AF5AC2
tetradic
#C2AF5A #5AC27B #5A6DC2 #C25AA1
square
#C2AF5A #5AC27B #5A6DC2 #C25AA1
split-complementary
#C2AF5A #5AA1C2 #7B5AC2
monochromatic
#76682C #A3903C #C2AF5A #D3C587 #E3DAB3
Accessibility & contrast
On white
2.19
#C2AF5A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.57
#C2AF5A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AF5A
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AF5A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AF5A | 1.00 | 2.19 | 9.57 | 9.57 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAB52
Deuteranopia (green-blind)
#C3B25E
Tritanopia (blue-blind)
#CFA49B
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c2af5a; /* rgb */ color: rgb(194, 175, 90); /* oklch */ color: oklch(75.3% 0.108 97.0);
Tailwind
colors: {
custom: {
50: '#d7c68b',
500: '#c2af5a',
950: '#000000',
},
}SCSS
$custom: #c2af5a; $custom-light: #d7c68b; $custom-dark: #000000;
JSON
{
"hex": "#c2af5a",
"rgb": {
"r": 194,
"g": 175,
"b": 90
},
"hsl": {
"h": 49.038,
"s": 46.018,
"l": 55.686
},
"oklch": {
"l": 0.75263,
"c": 0.10814,
"h": 97
},
"luminance": 0.42867
}Semantic roles & 50–950 ramp
primary
#C2AF5A
secondary
#A6AED2
accent
#6AD652
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D