#CFC475#CFC475
#CFC475 is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.101 H 101.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC475 |
|---|---|
| RGB | rgb(207, 196, 117) |
| HSL | hsl(53, 48%, 64%) |
| HSV | hsv(53, 43%, 81%) |
| CMYK | cmyk(0%, 5.3%, 43.5%, 18.8%) |
| CIE-LAB | lab(78.48, -7.19, 40.94) |
| CIE-LCH | lch(78.48, 41.56, 99.96°) |
| OKLab | oklab(81.2% -0.02 0.099) |
| OKLCH | oklch(81.2% 0.101 101.4) |
| XYZ | xyz(48.6840, 54.0311, 24.6907) |
| Luminance | 0.5403 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.94
Sand (survey)
#E2CA76
ΔE00 4.34
Greenish Beige
#C9D179
ΔE00 5.73
Sandy
#F1DA7A
ΔE00 6.98
Greenish Tan
#BCCB7A
ΔE00 7.08
Sand
#C2B280
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC475 #7580CF
analogous
#CF9775 #CFC475 #ADCF75
triadic
#CFC475 #75CFC4 #C475CF
tetradic
#CFC475 #75CF97 #7580CF #CF75AD
square
#CFC475 #75CF97 #7580CF #CF75AD
split-complementary
#CFC475 #75ADCF #9775CF
monochromatic
#968A34 #BFB148 #CFC475 #DFD7A2 #EFEBD0
Accessibility & contrast
On white
1.78
#CFC475 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.81
#CFC475 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC475
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC475 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC475 | 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)
#D1BF6F
Deuteranopia (green-blind)
#D5C478
Tritanopia (blue-blind)
#DBBAB1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cfc475; /* rgb */ color: rgb(207, 196, 117); /* oklch */ color: oklch(81.2% 0.101 101.4);
Tailwind
colors: {
custom: {
50: '#dfd59e',
500: '#cfc475',
950: '#000000',
},
}SCSS
$custom: #cfc475; $custom-light: #dfd59e; $custom-dark: #000000;
JSON
{
"hex": "#cfc475",
"rgb": {
"r": 207,
"g": 196,
"b": 117
},
"hsl": {
"h": 52.667,
"s": 48.387,
"l": 63.529
},
"oklch": {
"l": 0.81199,
"c": 0.10102,
"h": 101.4
},
"luminance": 0.5403
}Semantic roles & 50–950 ramp
primary
#CFC475
secondary
#4D569B
accent
#3CBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F