#C2B271#C2B271
#C2B271 is a light, moderate yellow. Relative luminance 0.445; OKLCH L 76.2% C 0.087 H 96.0°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B271 |
|---|---|
| RGB | rgb(194, 178, 113) |
| HSL | hsl(48, 40%, 60%) |
| HSV | hsv(48, 42%, 76%) |
| CMYK | cmyk(0%, 8.2%, 41.8%, 23.9%) |
| CIE-LAB | lab(72.56, -3.49, 35.26) |
| CIE-LCH | lch(72.56, 35.43, 95.65°) |
| OKLab | oklab(76.23% -0.009 0.0861) |
| OKLCH | oklch(76.23% 0.087 96) |
| XYZ | xyz(41.1501, 44.5038, 22.0420) |
| Luminance | 0.4450 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 3.31
Darkkhaki
#BDB76B
ΔE00 3.81
Sandstone
#C9AE74
ΔE00 4.16
Tan (survey)
#D1B26F
ΔE00 4.75
Desert
#CCAD60
ΔE00 4.90
Sandy Brown
#C4A661
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B271 #7181C2
analogous
#C28971 #C2B271 #A9C271
triadic
#C2B271 #71C2B2 #B271C2
tetradic
#C2B271 #71C289 #7181C2 #C271A9
square
#C2B271 #71C289 #7181C2 #C271A9
split-complementary
#C2B271 #71A9C2 #8971C2
monochromatic
#817337 #AC994A #C2B271 #D4C99C #E7E0C7
Accessibility & contrast
On white
2.12
#C2B271 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.90
#C2B271 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B271
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B271 | 1.00 | 2.12 | 9.90 | 9.90 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAF6C
Deuteranopia (green-blind)
#C3B473
Tritanopia (blue-blind)
#CDA9A2
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c2b271; /* rgb */ color: rgb(194, 178, 113); /* oklch */ color: oklch(76.2% 0.087 96.0);
Tailwind
colors: {
custom: {
50: '#d6c89a',
500: '#c2b271',
950: '#000000',
},
}SCSS
$custom: #c2b271; $custom-light: #d6c89a; $custom-dark: #000000;
JSON
{
"hex": "#c2b271",
"rgb": {
"r": 194,
"g": 178,
"b": 113
},
"hsl": {
"h": 48.148,
"s": 39.901,
"l": 60.196
},
"oklch": {
"l": 0.7623,
"c": 0.08655,
"h": 96
},
"luminance": 0.44502
}Semantic roles & 50–950 ramp
primary
#C2B271
secondary
#B8BED7
accent
#4CB333
background
#FDFCF9
surface
#FAF8F2
border
#D3D1CC
text
#14130E
muted
#83827E