#C8CA6F#C8CA6F
#C8CA6F is a light, moderate yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.114 H 109.8°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #C8CA6F |
|---|---|
| RGB | rgb(200, 202, 111) |
| HSL | hsl(61, 46%, 61%) |
| HSV | hsv(61, 45%, 79%) |
| CMYK | cmyk(1%, 0%, 45%, 20.8%) |
| CIE-LAB | lab(79.43, -13.67, 44.96) |
| CIE-LCH | lch(79.43, 47.00, 106.91°) |
| OKLab | oklab(81.79% -0.0388 0.1077) |
| OKLCH | oklch(81.79% 0.114 109.8) |
| XYZ | xyz(47.8100, 55.6691, 23.2625) |
| Luminance | 0.5567 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 2.29
Greenish Tan
#BCCB7A
ΔE00 4.06
Darkkhaki
#BDB76B
ΔE00 5.36
Pale Olive
#B9CC81
ΔE00 5.64
Light Olive
#ACBF69
ΔE00 5.81
Tan Green
#A9BE70
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8CA6F #716FCA
analogous
#CA9F6F #C8CA6F #9BCA6F
triadic
#C8CA6F #6FC8CA #CA6FC8
tetradic
#C8CA6F #6FCA9F #716FCA #CA6F9B
square
#C8CA6F #6FCA9F #716FCA #CA6F9B
split-complementary
#C8CA6F #6F9BCA #9F6FCA
monochromatic
#898B33 #B6B844 #C8CA6F #D9DA9C #EAEBC8
Accessibility & contrast
On white
1.73
#C8CA6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.13
#C8CA6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8CA6F
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8CA6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8CA6F | 1.00 | 1.73 | 12.13 | 12.13 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C367
Deuteranopia (green-blind)
#D8C673
Tritanopia (blue-blind)
#D3C0B5
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c8ca6f; /* rgb */ color: rgb(200, 202, 111); /* oklch */ color: oklch(81.8% 0.114 109.8);
Tailwind
colors: {
custom: {
50: '#dada9a',
500: '#c8ca6f',
950: '#000000',
},
}SCSS
$custom: #c8ca6f; $custom-light: #dada9a; $custom-dark: #000000;
JSON
{
"hex": "#c8ca6f",
"rgb": {
"r": 200,
"g": 202,
"b": 111
},
"hsl": {
"h": 61.319,
"s": 46.193,
"l": 61.373
},
"oklch": {
"l": 0.81786,
"c": 0.11447,
"h": 109.8
},
"luminance": 0.55668
}Semantic roles & 50–950 ramp
primary
#C8CA6F
secondary
#4C4B92
accent
#2CB92F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F