#C2B157#C2B157
#C2B157 is a light, moderate yellow. Relative luminance 0.436; OKLCH L 75.6% C 0.113 H 98.8°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #C2B157 |
|---|---|
| RGB | rgb(194, 177, 87) |
| HSL | hsl(50, 47%, 55%) |
| HSV | hsv(50, 55%, 76%) |
| CMYK | cmyk(0%, 8.8%, 55.2%, 23.9%) |
| CIE-LAB | lab(71.96, -5.42, 47.59) |
| CIE-LCH | lch(71.96, 47.90, 96.50°) |
| OKLab | oklab(75.65% -0.0172 0.1115) |
| OKLCH | oklch(75.65% 0.113 98.8) |
| XYZ | xyz(39.6920, 43.6033, 15.3405) |
| Luminance | 0.4360 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.23
Desert
#CCAD60
ΔE00 5.05
Sandy Brown
#C4A661
ΔE00 6.20
Tan (survey)
#D1B26F
ΔE00 6.49
Khaki (survey)
#AAA662
ΔE00 6.51
Muddy Yellow
#BFAC05
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2B157 #5768C2
analogous
#C27B57 #C2B157 #9EC257
triadic
#C2B157 #57C2B1 #B157C2
tetradic
#C2B157 #57C27B #5768C2 #C2579E
square
#C2B157 #57C27B #5768C2 #C2579E
split-complementary
#C2B157 #579EC2 #7B57C2
monochromatic
#74692A #A1913B #C2B157 #D2C684 #E3DBB1
Accessibility & contrast
On white
2.16
#C2B157 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#C2B157 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2B157
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2B157 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2B157 | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AD4E
Deuteranopia (green-blind)
#C4B35B
Tritanopia (blue-blind)
#CFA69D
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c2b157; /* rgb */ color: rgb(194, 177, 87); /* oklch */ color: oklch(75.6% 0.113 98.8);
Tailwind
colors: {
custom: {
50: '#d7c889',
500: '#c2b157',
950: '#000000',
},
}SCSS
$custom: #c2b157; $custom-light: #d7c889; $custom-dark: #000000;
JSON
{
"hex": "#c2b157",
"rgb": {
"r": 194,
"g": 177,
"b": 87
},
"hsl": {
"h": 50.467,
"s": 46.725,
"l": 55.098
},
"oklch": {
"l": 0.75645,
"c": 0.11278,
"h": 98.8
},
"luminance": 0.43602
}Semantic roles & 50–950 ramp
primary
#C2B157
secondary
#A4ABD1
accent
#67D651
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D