#CFC366#CFC366
#CFC366 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.116 H 102.0°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC366 |
|---|---|
| RGB | rgb(207, 195, 102) |
| HSL | hsl(53, 52%, 61%) |
| HSV | hsv(53, 51%, 81%) |
| CMYK | cmyk(0%, 5.8%, 50.7%, 18.8%) |
| CIE-LAB | lab(78.03, -8.09, 47.79) |
| CIE-LCH | lch(78.03, 48.47, 99.61°) |
| OKLab | oklab(80.78% -0.0241 0.1131) |
| OKLCH | oklch(80.78% 0.116 102) |
| XYZ | xyz(47.6469, 53.2565, 20.3375) |
| Luminance | 0.5325 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.52
Darkkhaki
#BDB76B
ΔE00 4.61
Greenish Beige
#C9D179
ΔE00 6.19
Sandy
#F1DA7A
ΔE00 6.71
Dull Yellow
#EEDC5B
ΔE00 7.64
Vomit Yellow
#C7C10C
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC366 #6672CF
analogous
#CF8E66 #CFC366 #A6CF66
triadic
#CFC366 #66CFC3 #C366CF
tetradic
#CFC366 #66CF8E #6672CF #CF66A6
square
#CFC366 #66CF8E #6672CF #CF66A6
split-complementary
#CFC366 #66A6CF #8E66CF
monochromatic
#8E832D #BDAE3B #CFC366 #DED595 #ECE8C3
Accessibility & contrast
On white
1.80
#CFC366 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.65
#CFC366 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC366
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC366 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC366 | 1.00 | 1.80 | 11.65 | 11.65 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BE5E
Deuteranopia (green-blind)
#D5C36A
Tritanopia (blue-blind)
#DCB8AE
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc366; /* rgb */ color: rgb(207, 195, 102); /* oklch */ color: oklch(80.8% 0.116 102.0);
Tailwind
colors: {
custom: {
50: '#e0d494',
500: '#cfc366',
950: '#000000',
},
}SCSS
$custom: #cfc366; $custom-light: #e0d494; $custom-dark: #000000;
JSON
{
"hex": "#cfc366",
"rgb": {
"r": 207,
"g": 195,
"b": 102
},
"hsl": {
"h": 53.143,
"s": 52.239,
"l": 60.588
},
"oklch": {
"l": 0.80778,
"c": 0.11565,
"h": 102
},
"luminance": 0.53255
}Semantic roles & 50–950 ramp
primary
#CFC366
secondary
#454E94
accent
#37C026
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F