#C2B871#C2B871
#C2B871 is a light, moderate yellow. Relative luminance 0.469; OKLCH L 77.5% C 0.092 H 101.3°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B871 |
|---|---|
| RGB | rgb(194, 184, 113) |
| HSL | hsl(53, 40%, 60%) |
| HSV | hsv(53, 42%, 76%) |
| CMYK | cmyk(0%, 5.2%, 41.8%, 23.9%) |
| CIE-LAB | lab(74.15, -6.64, 37.29) |
| CIE-LCH | lch(74.15, 37.87, 100.10°) |
| OKLab | oklab(77.49% -0.0181 0.0907) |
| OKLCH | oklch(77.49% 0.092 101.3) |
| XYZ | xyz(42.3701, 46.9438, 22.4487) |
| Luminance | 0.4694 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 1.59
Sand
#C2B280
ΔE00 5.09
Khaki (survey)
#AAA662
ΔE00 5.71
Sandstone
#C9AE74
ΔE00 6.60
Tan (survey)
#D1B26F
ΔE00 6.77
Desert
#CCAD60
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B871 #717BC2
analogous
#C29071 #C2B871 #A3C271
triadic
#C2B871 #71C2B8 #B871C2
tetradic
#C2B871 #71C290 #717BC2 #C271A3
square
#C2B871 #71C290 #717BC2 #C271A3
split-complementary
#C2B871 #71A3C2 #9071C2
monochromatic
#817837 #ACA04A #C2B871 #D4CD9C #E7E3C7
Accessibility & contrast
On white
2.02
#C2B871 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.39
#C2B871 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B871
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B871 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B871 | 1.00 | 2.02 | 10.39 | 10.39 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B46C
Deuteranopia (green-blind)
#C7B874
Tritanopia (blue-blind)
#CDAFA7
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #c2b871; /* rgb */ color: rgb(194, 184, 113); /* oklch */ color: oklch(77.5% 0.092 101.3);
Tailwind
colors: {
custom: {
50: '#d6cd9b',
500: '#c2b871',
950: '#000000',
},
}SCSS
$custom: #c2b871; $custom-light: #d6cd9b; $custom-dark: #000000;
JSON
{
"hex": "#c2b871",
"rgb": {
"r": 194,
"g": 184,
"b": 113
},
"hsl": {
"h": 52.593,
"s": 39.901,
"l": 60.196
},
"oklch": {
"l": 0.77488,
"c": 0.09247,
"h": 101.3
},
"luminance": 0.46943
}Semantic roles & 50–950 ramp
primary
#C2B871
secondary
#B8BCD7
accent
#42B333
background
#FDFCF9
surface
#FAF8F2
border
#D3D1CC
text
#14130E
muted
#83827E