#C2B457#C2B457
#C2B457 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.3% C 0.116 H 100.9°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B457 |
|---|---|
| RGB | rgb(194, 180, 87) |
| HSL | hsl(52, 47%, 55%) |
| HSV | hsv(52, 55%, 76%) |
| CMYK | cmyk(0%, 7.2%, 55.2%, 23.9%) |
| CIE-LAB | lab(72.76, -6.99, 48.52) |
| CIE-LCH | lch(72.76, 49.02, 98.20°) |
| OKLab | oklab(76.28% -0.0218 0.1135) |
| OKLCH | oklch(76.28% 0.116 100.9) |
| XYZ | xyz(40.2910, 44.8015, 15.5402) |
| Luminance | 0.4480 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.74
Desert
#CCAD60
ΔE00 6.11
Khaki (survey)
#AAA662
ΔE00 6.69
Muddy Yellow
#BFAC05
ΔE00 6.71
Olive Yellow
#C2B709
ΔE00 6.82
Sand (survey)
#E2CA76
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B457 #5765C2
analogous
#C27F57 #C2B457 #9AC257
triadic
#C2B457 #57C2B4 #B457C2
tetradic
#C2B457 #57C27F #5765C2 #C2579A
square
#C2B457 #57C27F #5765C2 #C2579A
split-complementary
#C2B457 #579AC2 #7F57C2
monochromatic
#746B2A #A1943B #C2B457 #D2C884 #E3DCB1
Accessibility & contrast
On white
2.11
#C2B457 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#C2B457 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B457
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B457 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B457 | 1.00 | 2.11 | 9.96 | 9.96 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AF4E
Deuteranopia (green-blind)
#C7B55B
Tritanopia (blue-blind)
#CFA99F
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c2b457; /* rgb */ color: rgb(194, 180, 87); /* oklch */ color: oklch(76.3% 0.116 100.9);
Tailwind
colors: {
custom: {
50: '#d7ca89',
500: '#c2b457',
950: '#000000',
},
}SCSS
$custom: #c2b457; $custom-light: #d7ca89; $custom-dark: #000000;
JSON
{
"hex": "#c2b457",
"rgb": {
"r": 194,
"g": 180,
"b": 87
},
"hsl": {
"h": 52.15,
"s": 46.725,
"l": 55.098
},
"oklch": {
"l": 0.76278,
"c": 0.11553,
"h": 100.9
},
"luminance": 0.448
}Semantic roles & 50–950 ramp
primary
#C2B457
secondary
#A4AAD1
accent
#63D651
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D