#C2B15E#C2B15E
#C2B15E is a light, moderate yellow. Relative luminance 0.437; OKLCH L 75.7% C 0.106 H 98.0°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B15E |
|---|---|
| RGB | rgb(194, 177, 94) |
| HSL | hsl(50, 45%, 56%) |
| HSV | hsv(50, 52%, 76%) |
| CMYK | cmyk(0%, 8.8%, 51.5%, 23.9%) |
| CIE-LAB | lab(72.04, -4.83, 44.27) |
| CIE-LCH | lch(72.04, 44.53, 96.22°) |
| OKLab | oklab(75.74% -0.0147 0.1049) |
| OKLCH | oklch(75.74% 0.106 98) |
| XYZ | xyz(39.9919, 43.7233, 16.9204) |
| Luminance | 0.4372 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.72
Desert
#CCAD60
ΔE00 4.59
Sandy Brown
#C4A661
ΔE00 5.58
Tan (survey)
#D1B26F
ΔE00 5.76
Khaki (survey)
#AAA662
ΔE00 6.01
Sandstone
#C9AE74
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B15E #5E6FC2
analogous
#C27F5E #C2B15E #A1C25E
triadic
#C2B15E #5EC2B1 #B15EC2
tetradic
#C2B15E #5EC27F #5E6FC2 #C25EA1
square
#C2B15E #5EC27F #5E6FC2 #C25EA1
split-complementary
#C2B15E #5EA1C2 #7F5EC2
monochromatic
#786B2E #A4933E #C2B15E #D3C78A #E4DCB7
Accessibility & contrast
On white
2.16
#C2B15E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.74
#C2B15E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B15E
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B15E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B15E | 1.00 | 2.16 | 9.74 | 9.74 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAD57
Deuteranopia (green-blind)
#C4B362
Tritanopia (blue-blind)
#CFA69E
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #c2b15e; /* rgb */ color: rgb(194, 177, 94); /* oklch */ color: oklch(75.7% 0.106 98.0);
Tailwind
colors: {
custom: {
50: '#d6c88e',
500: '#c2b15e',
950: '#000000',
},
}SCSS
$custom: #c2b15e; $custom-light: #d6c88e; $custom-dark: #000000;
JSON
{
"hex": "#c2b15e",
"rgb": {
"r": 194,
"g": 177,
"b": 94
},
"hsl": {
"h": 49.8,
"s": 45.045,
"l": 56.471
},
"oklch": {
"l": 0.75735,
"c": 0.10594,
"h": 98
},
"luminance": 0.43722
}Semantic roles & 50–950 ramp
primary
#C2B15E
secondary
#A9B0D2
accent
#69D553
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#15130C
muted
#83827D