#CFC298#CFC298
#CFC298 is a light, muted yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.058 H 92.9°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC298 |
|---|---|
| RGB | rgb(207, 194, 152) |
| HSL | hsl(46, 36%, 70%) |
| HSV | hsv(46, 27%, 81%) |
| CMYK | cmyk(0%, 6.3%, 26.6%, 18.8%) |
| CIE-LAB | lab(78.53, -1.98, 22.82) |
| CIE-LCH | lch(78.53, 22.91, 94.95°) |
| OKLab | oklab(81.43% -0.0029 0.0579) |
| OKLCH | oklch(81.43% 0.058 92.9) |
| XYZ | xyz(50.6917, 54.1172, 37.4750) |
| Luminance | 0.5412 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.75
Putty
#BEAE8A
ΔE00 5.59
Very Light Brown
#D3B683
ΔE00 6.04
Beige (survey)
#E6DAA6
ΔE00 6.11
Khaki
#C3B091
ΔE00 6.40
Tan
#D2B48C
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC298 #98A5CF
analogous
#CFA698 #CFC298 #C0CF98
triadic
#CFC298 #98CFC2 #C298CF
tetradic
#CFC298 #98CFA6 #98A5CF #CF98C0
square
#CFC298 #98CFA6 #98A5CF #CF98C0
split-complementary
#CFC298 #98C0CF #A698CF
monochromatic
#A18D4B #BCA96E #CFC298 #E2DBC2 #F5F3EA
Accessibility & contrast
On white
1.78
#CFC298 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.82
#CFC298 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC298
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC298 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC298 | 1.00 | 1.78 | 11.82 | 11.82 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBC095
Deuteranopia (green-blind)
#CFC499
Tritanopia (blue-blind)
#D8BBB7
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cfc298; /* rgb */ color: rgb(207, 194, 152); /* oklch */ color: oklch(81.4% 0.058 92.9);
Tailwind
colors: {
custom: {
50: '#ded4b6',
500: '#cfc298',
950: '#000000',
},
}SCSS
$custom: #cfc298; $custom-light: #ded4b6; $custom-dark: #000000;
JSON
{
"hex": "#cfc298",
"rgb": {
"r": 207,
"g": 194,
"b": 152
},
"hsl": {
"h": 45.818,
"s": 36.424,
"l": 70.392
},
"oklch": {
"l": 0.81426,
"c": 0.05793,
"h": 92.9
},
"luminance": 0.54116
}Semantic roles & 50–950 ramp
primary
#CFC298
secondary
#6775A5
accent
#53AF36
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381