#CFC668#CFC668
#CFC668 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.117 H 103.8°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC668 |
|---|---|
| RGB | rgb(207, 198, 104) |
| HSL | hsl(55, 52%, 61%) |
| HSV | hsv(55, 50%, 81%) |
| CMYK | cmyk(0%, 4.3%, 49.8%, 18.8%) |
| CIE-LAB | lab(78.84, -9.45, 47.80) |
| CIE-LCH | lch(78.84, 48.72, 101.19°) |
| OKLab | oklab(81.43% -0.0278 0.1133) |
| OKLCH | oklch(81.43% 0.117 103.8) |
| XYZ | xyz(48.4262, 54.6545, 21.0925) |
| Luminance | 0.5465 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.90
Sand (survey)
#E2CA76
ΔE00 4.99
Greenish Beige
#C9D179
ΔE00 5.22
Sandy
#F1DA7A
ΔE00 6.62
Greenish Tan
#BCCB7A
ΔE00 7.06
Dull Yellow
#EEDC5B
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC668 #6871CF
analogous
#CF9268 #CFC668 #A4CF68
triadic
#CFC668 #68CFC6 #C668CF
tetradic
#CFC668 #68CF92 #6871CF #CF68A4
square
#CFC668 #68CF92 #6871CF #CF68A4
split-complementary
#CFC668 #68A4CF #9268CF
monochromatic
#8F872D #BEB23C #CFC668 #DED896 #EDE9C5
Accessibility & contrast
On white
1.76
#CFC668 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.93
#CFC668 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC668
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC668 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC668 | 1.00 | 1.76 | 11.93 | 11.93 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C060
Deuteranopia (green-blind)
#D8C56C
Tritanopia (blue-blind)
#DCBBB0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc668; /* rgb */ color: rgb(207, 198, 104); /* oklch */ color: oklch(81.4% 0.117 103.8);
Tailwind
colors: {
custom: {
50: '#e0d795',
500: '#cfc668',
950: '#000000',
},
}SCSS
$custom: #cfc668; $custom-light: #e0d795; $custom-dark: #000000;
JSON
{
"hex": "#cfc668",
"rgb": {
"r": 207,
"g": 198,
"b": 104
},
"hsl": {
"h": 54.757,
"s": 51.759,
"l": 60.98
},
"oklch": {
"l": 0.81433,
"c": 0.11666,
"h": 103.8
},
"luminance": 0.54653
}Semantic roles & 50–950 ramp
primary
#CFC668
secondary
#464D95
accent
#34BF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F