#CFC66A#CFC66A
#CFC66A is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.115 H 103.6°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC66A |
|---|---|
| RGB | rgb(207, 198, 106) |
| HSL | hsl(55, 51%, 61%) |
| HSV | hsv(55, 49%, 81%) |
| CMYK | cmyk(0%, 4.3%, 48.8%, 18.8%) |
| CIE-LAB | lab(78.87, -9.27, 46.86) |
| CIE-LCH | lch(78.87, 47.77, 101.20°) |
| OKLab | oklab(81.46% -0.027 0.1114) |
| OKLCH | oklch(81.46% 0.115 103.6) |
| XYZ | xyz(48.5290, 54.6957, 21.6339) |
| Luminance | 0.5469 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.74
Sand (survey)
#E2CA76
ΔE00 4.89
Greenish Beige
#C9D179
ΔE00 5.13
Sandy
#F1DA7A
ΔE00 6.62
Greenish Tan
#BCCB7A
ΔE00 6.94
Dull Yellow
#EEDC5B
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC66A #6A73CF
analogous
#CF946A #CFC66A #A6CF6A
triadic
#CFC66A #6ACFC6 #C66ACF
tetradic
#CFC66A #6ACF94 #6A73CF #CF6AA6
square
#CFC66A #6ACF94 #6A73CF #CF6AA6
split-complementary
#CFC66A #6AA6CF #946ACF
monochromatic
#90872E #BEB33D #CFC66A #DED898 #EDE9C7
Accessibility & contrast
On white
1.76
#CFC66A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.94
#CFC66A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC66A
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC66A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC66A | 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)
#D4C062
Deuteranopia (green-blind)
#D7C56E
Tritanopia (blue-blind)
#DCBBB1
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc66a; /* rgb */ color: rgb(207, 198, 106); /* oklch */ color: oklch(81.5% 0.115 103.6);
Tailwind
colors: {
custom: {
50: '#dfd797',
500: '#cfc66a',
950: '#000000',
},
}SCSS
$custom: #cfc66a; $custom-light: #dfd797; $custom-dark: #000000;
JSON
{
"hex": "#cfc66a",
"rgb": {
"r": 207,
"g": 198,
"b": 106
},
"hsl": {
"h": 54.653,
"s": 51.269,
"l": 61.373
},
"oklch": {
"l": 0.81459,
"c": 0.11465,
"h": 103.6
},
"luminance": 0.54694
}Semantic roles & 50–950 ramp
primary
#CFC66A
secondary
#474E96
accent
#34BF27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F