#C2C87F#C2C87F
#C2C87F is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.095 H 112.3°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C2C87F |
|---|---|
| RGB | rgb(194, 200, 127) |
| HSL | hsl(65, 40%, 64%) |
| HSV | hsv(65, 37%, 78%) |
| CMYK | cmyk(3%, 0%, 36.5%, 21.6%) |
| CIE-LAB | lab(78.64, -13.30, 35.85) |
| CIE-LCH | lch(78.64, 38.24, 110.36°) |
| OKLab | oklab(81.12% -0.0362 0.0881) |
| OKLCH | oklch(81.12% 0.095 112.3) |
| XYZ | xyz(46.7335, 54.3108, 28.0957) |
| Luminance | 0.5431 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Tan
#BCCB7A
ΔE00 2.48
Greenish Beige
#C9D179
ΔE00 3.19
Pale Olive
#B9CC81
ΔE00 3.30
Light Olive
#ACBF69
ΔE00 4.81
Tan Green
#A9BE70
ΔE00 5.08
Darkkhaki
#BDB76B
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2C87F #857FC8
analogous
#C8AA7F #C2C87F #9EC87F
triadic
#C2C87F #7FC2C8 #C87FC2
tetradic
#C2C87F #7FC8AA #857FC8 #C87F9E
square
#C2C87F #7FC8AA #857FC8 #C87F9E
split-complementary
#C2C87F #7F9EC8 #AA7FC8
monochromatic
#888F3D #AEB654 #C2C87F #D6DAAA #EBEDD5
Accessibility & contrast
On white
1.77
#C2C87F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.86
#C2C87F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2C87F
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2C87F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2C87F | 1.00 | 1.77 | 11.86 | 11.86 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2C27A
Deuteranopia (green-blind)
#D2C482
Tritanopia (blue-blind)
#CBC0B6
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #c2c87f; /* rgb */ color: rgb(194, 200, 127); /* oklch */ color: oklch(81.1% 0.095 112.3);
Tailwind
colors: {
custom: {
50: '#d5d8a5',
500: '#c2c87f',
950: '#000000',
},
}SCSS
$custom: #c2c87f; $custom-light: #d5d8a5; $custom-dark: #000000;
JSON
{
"hex": "#c2c87f",
"rgb": {
"r": 194,
"g": 200,
"b": 127
},
"hsl": {
"h": 64.932,
"s": 39.891,
"l": 64.118
},
"oklch": {
"l": 0.81121,
"c": 0.09521,
"h": 112.3
},
"luminance": 0.5431
}Semantic roles & 50–950 ramp
primary
#C2C87F
secondary
#5A5596
accent
#33B33D
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#14140F
muted
#838380