#C2B458#C2B458
#C2B458 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.3% C 0.115 H 100.8°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B458 |
|---|---|
| RGB | rgb(194, 180, 88) |
| HSL | hsl(52, 46%, 55%) |
| HSV | hsv(52, 55%, 76%) |
| CMYK | cmyk(0%, 7.2%, 54.6%, 23.9%) |
| CIE-LAB | lab(72.77, -6.91, 48.05) |
| CIE-LCH | lch(72.77, 48.55, 98.18°) |
| OKLab | oklab(76.29% -0.0214 0.1126) |
| OKLCH | oklch(76.29% 0.115 100.8) |
| XYZ | xyz(40.3322, 44.8179, 15.7568) |
| Luminance | 0.4482 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.63
Desert
#CCAD60
ΔE00 6.04
Khaki (survey)
#AAA662
ΔE00 6.61
Muddy Yellow
#BFAC05
ΔE00 6.85
Olive Yellow
#C2B709
ΔE00 6.96
Sand (survey)
#E2CA76
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B458 #5866C2
analogous
#C27F58 #C2B458 #9BC258
triadic
#C2B458 #58C2B4 #B458C2
tetradic
#C2B458 #58C27F #5866C2 #C2589B
square
#C2B458 #58C27F #5866C2 #C2589B
split-complementary
#C2B458 #589BC2 #7F58C2
monochromatic
#756B2B #A2943B #C2B458 #D2C885 #E3DCB2
Accessibility & contrast
On white
2.11
#C2B458 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#C2B458 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B458
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B458 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B458 | 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)
#C2AF4F
Deuteranopia (green-blind)
#C7B55C
Tritanopia (blue-blind)
#CFA99F
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c2b458; /* rgb */ color: rgb(194, 180, 88); /* oklch */ color: oklch(76.3% 0.115 100.8);
Tailwind
colors: {
custom: {
50: '#d7ca8a',
500: '#c2b458',
950: '#000000',
},
}SCSS
$custom: #c2b458; $custom-light: #d7ca8a; $custom-dark: #000000;
JSON
{
"hex": "#c2b458",
"rgb": {
"r": 194,
"g": 180,
"b": 88
},
"hsl": {
"h": 52.075,
"s": 46.491,
"l": 55.294
},
"oklch": {
"l": 0.7629,
"c": 0.11458,
"h": 100.8
},
"luminance": 0.44816
}Semantic roles & 50–950 ramp
primary
#C2B458
secondary
#A5ABD1
accent
#63D652
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D