#C2B459#C2B459
#C2B459 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.3% C 0.114 H 100.7°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B459 |
|---|---|
| RGB | rgb(194, 180, 89) |
| HSL | hsl(52, 46%, 55%) |
| HSV | hsv(52, 54%, 76%) |
| CMYK | cmyk(0%, 7.2%, 54.1%, 23.9%) |
| CIE-LAB | lab(72.78, -6.83, 47.59) |
| CIE-LCH | lch(72.78, 48.07, 98.16°) |
| OKLab | oklab(76.3% -0.0211 0.1117) |
| OKLCH | oklch(76.3% 0.114 100.7) |
| XYZ | xyz(40.3739, 44.8346, 15.9765) |
| Luminance | 0.4483 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.52
Desert
#CCAD60
ΔE00 5.98
Khaki (survey)
#AAA662
ΔE00 6.52
Muddy Yellow
#BFAC05
ΔE00 6.98
Sand (survey)
#E2CA76
ΔE00 7.00
Olive Yellow
#C2B709
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B459 #5967C2
analogous
#C27F59 #C2B459 #9BC259
triadic
#C2B459 #59C2B4 #B459C2
tetradic
#C2B459 #59C27F #5967C2 #C2599B
square
#C2B459 #59C27F #5967C2 #C2599B
split-complementary
#C2B459 #599BC2 #7F59C2
monochromatic
#756C2B #A2953C #C2B459 #D2C886 #E3DCB3
Accessibility & contrast
On white
2.11
#C2B459 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.97
#C2B459 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B459
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B459 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B459 | 1.00 | 2.11 | 9.97 | 9.97 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AF50
Deuteranopia (green-blind)
#C7B55D
Tritanopia (blue-blind)
#CFA99F
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c2b459; /* rgb */ color: rgb(194, 180, 89); /* oklch */ color: oklch(76.3% 0.114 100.7);
Tailwind
colors: {
custom: {
50: '#d7ca8a',
500: '#c2b459',
950: '#000000',
},
}SCSS
$custom: #c2b459; $custom-light: #d7ca8a; $custom-dark: #000000;
JSON
{
"hex": "#c2b459",
"rgb": {
"r": 194,
"g": 180,
"b": 89
},
"hsl": {
"h": 52,
"s": 46.256,
"l": 55.49
},
"oklch": {
"l": 0.76303,
"c": 0.11362,
"h": 100.7
},
"luminance": 0.44833
}Semantic roles & 50–950 ramp
primary
#C2B459
secondary
#A6ABD1
accent
#63D652
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D