#C7C396#C7C396
#C7C396 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 80.9% C 0.060 H 103.4°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #C7C396 |
|---|---|
| RGB | rgb(199, 195, 150) |
| HSL | hsl(55, 30%, 68%) |
| HSV | hsv(55, 25%, 78%) |
| CMYK | cmyk(0%, 2%, 24.6%, 22%) |
| CIE-LAB | lab(78.10, -5.83, 23.18) |
| CIE-LCH | lch(78.10, 23.91, 104.13°) |
| OKLab | oklab(80.91% -0.014 0.0587) |
| OKLCH | oklch(80.91% 0.06 103.4) |
| XYZ | xyz(48.5733, 53.3751, 36.5919) |
| Luminance | 0.5337 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 5.90
Beige (survey)
#E6DAA6
ΔE00 6.57
Putty
#BEAE8A
ΔE00 7.50
Darkkhaki
#BDB76B
ΔE00 7.54
Bland
#AFA88B
ΔE00 8.41
Pale Olive
#B9CC81
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7C396 #969AC7
analogous
#C7AA96 #C7C396 #B2C796
triadic
#C7C396 #96C7C3 #C396C7
tetradic
#C7C396 #96C7AA #969AC7 #C796B2
square
#C7C396 #96C7AA #969AC7 #C796B2
split-complementary
#C7C396 #96B2C7 #AA96C7
monochromatic
#948E4F #B2AC6E #C7C396 #DCDABE #F2F1E6
Accessibility & contrast
On white
1.80
#C7C396 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.67
#C7C396 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7C396
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7C396 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7C396 | 1.00 | 1.80 | 11.67 | 11.67 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBC093
Deuteranopia (green-blind)
#CDC298
Tritanopia (blue-blind)
#CFBDB7
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #c7c396; /* rgb */ color: rgb(199, 195, 150); /* oklch */ color: oklch(80.9% 0.060 103.4);
Tailwind
colors: {
custom: {
50: '#d8d5b5',
500: '#c7c396',
950: '#000000',
},
}SCSS
$custom: #c7c396; $custom-light: #d8d5b5; $custom-dark: #000000;
JSON
{
"hex": "#c7c396",
"rgb": {
"r": 199,
"g": 195,
"b": 150
},
"hsl": {
"h": 55.102,
"s": 30.435,
"l": 68.431
},
"oklch": {
"l": 0.80911,
"c": 0.06037,
"h": 103.4
},
"luminance": 0.53374
}Semantic roles & 50–950 ramp
primary
#C7C396
secondary
#666A9C
accent
#45A93C
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#141411
muted
#838381