#CFC296#CFC296
#CFC296 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.060 H 93.6°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC296 |
|---|---|
| RGB | rgb(207, 194, 150) |
| HSL | hsl(46, 37%, 70%) |
| HSV | hsv(46, 28%, 81%) |
| CMYK | cmyk(0%, 6.3%, 27.5%, 18.8%) |
| CIE-LAB | lab(78.49, -2.25, 23.83) |
| CIE-LCH | lch(78.49, 23.94, 95.39°) |
| OKLab | oklab(81.38% -0.0038 0.0603) |
| OKLCH | oklch(81.38% 0.06 93.6) |
| XYZ | xyz(50.5293, 54.0522, 36.6196) |
| Luminance | 0.5405 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.53
Putty
#BEAE8A
ΔE00 5.76
Beige (survey)
#E6DAA6
ΔE00 5.95
Very Light Brown
#D3B683
ΔE00 5.95
Khaki
#C3B091
ΔE00 6.70
Sandstone
#C9AE74
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC296 #96A3CF
analogous
#CFA696 #CFC296 #BFCF96
triadic
#CFC296 #96CFC2 #C296CF
tetradic
#CFC296 #96CFA6 #96A3CF #CF96BF
square
#CFC296 #96CFA6 #96A3CF #CF96BF
split-complementary
#CFC296 #96BFCF #A696CF
monochromatic
#A18D4A #BCAA6C #CFC296 #E2DAC0 #F5F3EA
Accessibility & contrast
On white
1.78
#CFC296 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.81
#CFC296 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC296
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC296 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC296 | 1.00 | 1.78 | 11.81 | 11.81 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBC093
Deuteranopia (green-blind)
#CFC497
Tritanopia (blue-blind)
#D8BBB6
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cfc296; /* rgb */ color: rgb(207, 194, 150); /* oklch */ color: oklch(81.4% 0.060 93.6);
Tailwind
colors: {
custom: {
50: '#ded4b5',
500: '#cfc296',
950: '#000000',
},
}SCSS
$custom: #cfc296; $custom-light: #ded4b5; $custom-dark: #000000;
JSON
{
"hex": "#cfc296",
"rgb": {
"r": 207,
"g": 194,
"b": 150
},
"hsl": {
"h": 46.316,
"s": 37.255,
"l": 70
},
"oklch": {
"l": 0.81384,
"c": 0.0604,
"h": 93.6
},
"luminance": 0.54051
}Semantic roles & 50–950 ramp
primary
#CFC296
secondary
#6573A5
accent
#51B035
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381