#C2AF5D#C2AF5D
#C2AF5D is a light, moderate yellow. Relative luminance 0.429; OKLCH L 75.3% C 0.105 H 96.6°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AF5D |
|---|---|
| RGB | rgb(194, 175, 93) |
| HSL | hsl(49, 45%, 56%) |
| HSV | hsv(49, 52%, 76%) |
| CMYK | cmyk(0%, 9.8%, 52.1%, 23.9%) |
| CIE-LAB | lab(71.50, -3.86, 44.12) |
| CIE-LCH | lch(71.50, 44.29, 95.00°) |
| OKLab | oklab(75.3% -0.0121 0.1045) |
| OKLCH | oklch(75.3% 0.105 96.6) |
| XYZ | xyz(39.5552, 42.9212, 16.5549) |
| Luminance | 0.4292 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.93
Darkkhaki
#BDB76B
ΔE00 4.37
Sandy Brown
#C4A661
ΔE00 4.85
Tan (survey)
#D1B26F
ΔE00 5.29
Sandstone
#C9AE74
ΔE00 5.68
Khaki (survey)
#AAA662
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AF5D #5D70C2
analogous
#C27D5D #C2AF5D #A3C25D
triadic
#C2AF5D #5DC2AF #AF5DC2
tetradic
#C2AF5D #5DC27D #5D70C2 #C25DA3
square
#C2AF5D #5DC27D #5D70C2 #C25DA3
split-complementary
#C2AF5D #5DA3C2 #7D5DC2
monochromatic
#786A2D #A4913E #C2AF5D #D3C589 #E3DBB6
Accessibility & contrast
On white
2.19
#C2AF5D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.58
#C2AF5D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AF5D
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AF5D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AF5D | 1.00 | 2.19 | 9.58 | 9.58 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDAB56
Deuteranopia (green-blind)
#C2B260
Tritanopia (blue-blind)
#CFA49C
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c2af5d; /* rgb */ color: rgb(194, 175, 93); /* oklch */ color: oklch(75.3% 0.105 96.6);
Tailwind
colors: {
custom: {
50: '#d6c68d',
500: '#c2af5d',
950: '#000000',
},
}SCSS
$custom: #c2af5d; $custom-light: #d6c68d; $custom-dark: #000000;
JSON
{
"hex": "#c2af5d",
"rgb": {
"r": 194,
"g": 175,
"b": 93
},
"hsl": {
"h": 48.713,
"s": 45.291,
"l": 56.275
},
"oklch": {
"l": 0.75302,
"c": 0.10517,
"h": 96.6
},
"luminance": 0.4292
}Semantic roles & 50–950 ramp
primary
#C2AF5D
secondary
#A9B0D2
accent
#6BD553
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D