#C7C298#C7C298
#C7C298 is a light, muted yellow. Relative luminance 0.530; OKLCH L 80.7% C 0.057 H 101.9°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #C7C298 |
|---|---|
| RGB | rgb(199, 194, 152) |
| HSL | hsl(54, 30%, 69%) |
| HSV | hsv(54, 24%, 78%) |
| CMYK | cmyk(0%, 2.5%, 23.6%, 22%) |
| CIE-LAB | lab(77.87, -5.03, 21.81) |
| CIE-LCH | lch(77.87, 22.39, 102.99°) |
| OKLab | oklab(80.75% -0.0117 0.0554) |
| OKLCH | oklch(80.75% 0.057 101.9) |
| XYZ | xyz(48.5124, 52.9935, 37.3728) |
| Luminance | 0.5299 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 5.74
Beige (survey)
#E6DAA6
ΔE00 6.78
Putty
#BEAE8A
ΔE00 6.91
Bland
#AFA88B
ΔE00 7.82
Darkkhaki
#BDB76B
ΔE00 8.11
Khaki
#C3B091
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7C298 #989DC7
analogous
#C7AB98 #C7C298 #B5C798
triadic
#C7C298 #98C7C2 #C298C7
tetradic
#C7C298 #98C7AB #989DC7 #C798B5
square
#C7C298 #98C7AB #989DC7 #C798B5
split-complementary
#C7C298 #98B5C7 #AB98C7
monochromatic
#948D51 #B1AB70 #C7C298 #DDD9C0 #F2F1E7
Accessibility & contrast
On white
1.81
#C7C298 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.60
#C7C298 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7C298
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7C298 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7C298 | 1.00 | 1.81 | 11.60 | 11.60 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CABF95
Deuteranopia (green-blind)
#CCC299
Tritanopia (blue-blind)
#CEBCB7
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #c7c298; /* rgb */ color: rgb(199, 194, 152); /* oklch */ color: oklch(80.7% 0.057 101.9);
Tailwind
colors: {
custom: {
50: '#d8d4b6',
500: '#c7c298',
950: '#000000',
},
}SCSS
$custom: #c7c298; $custom-light: #d8d4b6; $custom-dark: #000000;
JSON
{
"hex": "#c7c298",
"rgb": {
"r": 199,
"g": 194,
"b": 152
},
"hsl": {
"h": 53.617,
"s": 29.56,
"l": 68.824
},
"oklch": {
"l": 0.80746,
"c": 0.05664,
"h": 101.9
},
"luminance": 0.52993
}Semantic roles & 50–950 ramp
primary
#C7C298
secondary
#686D9C
accent
#49A83D
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#141411
muted
#838381