#CFC66B#CFC66B
#CFC66B is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.114 H 103.6°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC66B |
|---|---|
| RGB | rgb(207, 198, 107) |
| HSL | hsl(55, 51%, 62%) |
| HSV | hsv(55, 48%, 81%) |
| CMYK | cmyk(0%, 4.3%, 48.3%, 18.8%) |
| CIE-LAB | lab(78.88, -9.18, 46.38) |
| CIE-LCH | lch(78.88, 47.28, 101.20°) |
| OKLab | oklab(81.47% -0.0267 0.1105) |
| OKLCH | oklch(81.47% 0.114 103.6) |
| XYZ | xyz(48.5813, 54.7166, 21.9093) |
| Luminance | 0.5472 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.67
Sand (survey)
#E2CA76
ΔE00 4.85
Greenish Beige
#C9D179
ΔE00 5.09
Sandy
#F1DA7A
ΔE00 6.62
Greenish Tan
#BCCB7A
ΔE00 6.88
Khaki (CSS)
#F0E68C
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC66B #6B74CF
analogous
#CF946B #CFC66B #A6CF6B
triadic
#CFC66B #6BCFC6 #C66BCF
tetradic
#CFC66B #6BCF94 #6B74CF #CF6BA6
square
#CFC66B #6BCF94 #6B74CF #CF6BA6
split-complementary
#CFC66B #6BA6CF #946BCF
monochromatic
#91882F #BFB33E #CFC66B #DED899 #EDEAC7
Accessibility & contrast
On white
1.76
#CFC66B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.94
#CFC66B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC66B
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC66B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC66B | 1.00 | 1.76 | 11.94 | 11.94 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C063
Deuteranopia (green-blind)
#D7C56F
Tritanopia (blue-blind)
#DCBBB1
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc66b; /* rgb */ color: rgb(207, 198, 107); /* oklch */ color: oklch(81.5% 0.114 103.6);
Tailwind
colors: {
custom: {
50: '#dfd797',
500: '#cfc66b',
950: '#000000',
},
}SCSS
$custom: #cfc66b; $custom-light: #dfd797; $custom-dark: #000000;
JSON
{
"hex": "#cfc66b",
"rgb": {
"r": 207,
"g": 198,
"b": 107
},
"hsl": {
"h": 54.6,
"s": 51.02,
"l": 61.569
},
"oklch": {
"l": 0.81473,
"c": 0.11364,
"h": 103.6
},
"luminance": 0.54715
}Semantic roles & 50–950 ramp
primary
#CFC66B
secondary
#474F97
accent
#35BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F