#CFC476#CFC476
#CFC476 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.100 H 101.3°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC476 |
|---|---|
| RGB | rgb(207, 196, 118) |
| HSL | hsl(53, 48%, 64%) |
| HSV | hsv(53, 43%, 81%) |
| CMYK | cmyk(0%, 5.3%, 43%, 18.8%) |
| CIE-LAB | lab(78.49, -7.08, 40.45) |
| CIE-LCH | lch(78.49, 41.06, 99.93°) |
| OKLab | oklab(81.22% -0.0196 0.098) |
| OKLCH | oklch(81.22% 0.1 101.3) |
| XYZ | xyz(48.7431, 54.0547, 25.0020) |
| Luminance | 0.5405 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.93
Sand (survey)
#E2CA76
ΔE00 4.36
Greenish Beige
#C9D179
ΔE00 5.76
Sandy
#F1DA7A
ΔE00 7.03
Greenish Tan
#BCCB7A
ΔE00 7.08
Sand
#C2B280
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC476 #7681CF
analogous
#CF9776 #CFC476 #ADCF76
triadic
#CFC476 #76CFC4 #C476CF
tetradic
#CFC476 #76CF97 #7681CF #CF76AD
square
#CFC476 #76CF97 #7681CF #CF76AD
split-complementary
#CFC476 #76ADCF #9776CF
monochromatic
#968A35 #BFB049 #CFC476 #DFD8A3 #EFEBD1
Accessibility & contrast
On white
1.78
#CFC476 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.81
#CFC476 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC476
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC476 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC476 | 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)
#D1BF70
Deuteranopia (green-blind)
#D5C479
Tritanopia (blue-blind)
#DBBAB1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cfc476; /* rgb */ color: rgb(207, 196, 118); /* oklch */ color: oklch(81.2% 0.100 101.3);
Tailwind
colors: {
custom: {
50: '#dfd59f',
500: '#cfc476',
950: '#000000',
},
}SCSS
$custom: #cfc476; $custom-light: #dfd59f; $custom-dark: #000000;
JSON
{
"hex": "#cfc476",
"rgb": {
"r": 207,
"g": 196,
"b": 118
},
"hsl": {
"h": 52.584,
"s": 48.108,
"l": 63.725
},
"oklch": {
"l": 0.81215,
"c": 0.09993,
"h": 101.3
},
"luminance": 0.54053
}Semantic roles & 50–950 ramp
primary
#CFC476
secondary
#4D579C
accent
#3CBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F