#C7C18F#C7C18F
#C7C18F is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.067 H 102.0°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #C7C18F |
|---|---|
| RGB | rgb(199, 193, 143) |
| HSL | hsl(54, 33%, 67%) |
| HSV | hsv(54, 28%, 78%) |
| CMYK | cmyk(0%, 3%, 28.1%, 22%) |
| CIE-LAB | lab(77.44, -5.75, 26.00) |
| CIE-LCH | lch(77.44, 26.63, 102.46°) |
| OKLab | oklab(80.35% -0.0139 0.0654) |
| OKLCH | oklch(80.35% 0.067 102) |
| XYZ | xyz(47.5813, 52.2661, 33.5631) |
| Luminance | 0.5226 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.94
Darkkhaki
#BDB76B
ΔE00 6.19
Beige (survey)
#E6DAA6
ΔE00 6.63
Putty
#BEAE8A
ΔE00 7.22
Very Light Brown
#D3B683
ΔE00 8.06
Greenish Tan
#BCCB7A
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7C18F #8F95C7
analogous
#C7A58F #C7C18F #B1C78F
triadic
#C7C18F #8FC7C1 #C18FC7
tetradic
#C7C18F #8FC7A5 #8F95C7 #C78FB1
square
#C7C18F #8FC7A5 #8F95C7 #C78FB1
split-complementary
#C7C18F #8FB1C7 #A58FC7
monochromatic
#928B49 #B3AA66 #C7C18F #DBD8B8 #F0EEE1
Accessibility & contrast
On white
1.83
#C7C18F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.45
#C7C18F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7C18F
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7C18F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7C18F | 1.00 | 1.83 | 11.45 | 11.45 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CABE8C
Deuteranopia (green-blind)
#CCC191
Tritanopia (blue-blind)
#CFBAB4
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #c7c18f; /* rgb */ color: rgb(199, 193, 143); /* oklch */ color: oklch(80.3% 0.067 102.0);
Tailwind
colors: {
custom: {
50: '#d8d3b0',
500: '#c7c18f',
950: '#000000',
},
}SCSS
$custom: #c7c18f; $custom-light: #d8d3b0; $custom-dark: #000000;
JSON
{
"hex": "#c7c18f",
"rgb": {
"r": 199,
"g": 193,
"b": 143
},
"hsl": {
"h": 53.571,
"s": 33.333,
"l": 67.059
},
"oklch": {
"l": 0.8035,
"c": 0.06686,
"h": 102
},
"luminance": 0.52265
}Semantic roles & 50–950 ramp
primary
#C7C18F
secondary
#60669A
accent
#46AC39
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#141410
muted
#838381