#C2B95F#C2B95F
#C2B95F is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.4% C 0.113 H 103.6°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B95F |
|---|---|
| RGB | rgb(194, 185, 95) |
| HSL | hsl(55, 45%, 57%) |
| HSV | hsv(55, 51%, 76%) |
| CMYK | cmyk(0%, 4.6%, 51%, 23.9%) |
| CIE-LAB | lab(74.19, -8.92, 46.34) |
| CIE-LCH | lch(74.19, 47.19, 100.89°) |
| OKLab | oklab(77.44% -0.0264 0.1095) |
| OKLCH | oklch(77.44% 0.113 103.6) |
| XYZ | xyz(41.6638, 46.9948, 17.7005) |
| Luminance | 0.4699 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 2.56
Khaki (survey)
#AAA662
ΔE00 6.71
Sand (survey)
#E2CA76
ΔE00 6.81
Greenish Beige
#C9D179
ΔE00 7.14
Desert
#CCAD60
ΔE00 7.46
Olive Yellow
#C2B709
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B95F #5F68C2
analogous
#C2885F #C2B95F #9AC25F
triadic
#C2B95F #5FC2B9 #B95FC2
tetradic
#C2B95F #5FC288 #5F68C2 #C25F9A
square
#C2B95F #5FC288 #5F68C2 #C25F9A
split-complementary
#C2B95F #5F9AC2 #885FC2
monochromatic
#79722E #A59C3F #C2B95F #D3CC8B #E4E0B8
Accessibility & contrast
On white
2.02
#C2B95F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.40
#C2B95F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B95F
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B95F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B95F | 1.00 | 2.02 | 10.40 | 10.40 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B457
Deuteranopia (green-blind)
#CAB963
Tritanopia (blue-blind)
#CEAFA4
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #c2b95f; /* rgb */ color: rgb(194, 185, 95); /* oklch */ color: oklch(77.4% 0.113 103.6);
Tailwind
colors: {
custom: {
50: '#d6cd8f',
500: '#c2b95f',
950: '#000000',
},
}SCSS
$custom: #c2b95f; $custom-light: #d6cd8f; $custom-dark: #000000;
JSON
{
"hex": "#c2b95f",
"rgb": {
"r": 194,
"g": 185,
"b": 95
},
"hsl": {
"h": 54.545,
"s": 44.796,
"l": 56.667
},
"oklch": {
"l": 0.77438,
"c": 0.11267,
"h": 103.6
},
"luminance": 0.46993
}Semantic roles & 50–950 ramp
primary
#C2B95F
secondary
#AAAED3
accent
#5FD453
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#15130C
muted
#83827D