#CFC665#CFC665
#CFC665 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.120 H 103.9°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC665 |
|---|---|
| RGB | rgb(207, 198, 101) |
| HSL | hsl(55, 52%, 60%) |
| HSV | hsv(55, 51%, 81%) |
| CMYK | cmyk(0%, 4.3%, 51.2%, 18.8%) |
| CIE-LAB | lab(78.81, -9.72, 49.20) |
| CIE-LCH | lch(78.81, 50.15, 101.17°) |
| OKLab | oklab(81.39% -0.0288 0.1161) |
| OKLCH | oklch(81.39% 0.12 103.9) |
| XYZ | xyz(48.2765, 54.5947, 20.3042) |
| Luminance | 0.5459 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.15
Sand (survey)
#E2CA76
ΔE00 5.15
Greenish Beige
#C9D179
ΔE00 5.37
Sandy
#F1DA7A
ΔE00 6.64
Dull Yellow
#EEDC5B
ΔE00 7.11
Greenish Tan
#BCCB7A
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC665 #656ECF
analogous
#CF9165 #CFC665 #A3CF65
triadic
#CFC665 #65CFC6 #C665CF
tetradic
#CFC665 #65CF91 #656ECF #CF65A3
square
#CFC665 #65CF91 #656ECF #CF65A3
split-complementary
#CFC665 #65A3CF #9165CF
monochromatic
#8D852C #BCB13B #CFC665 #DED794 #ECE9C2
Accessibility & contrast
On white
1.76
#CFC665 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.92
#CFC665 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC665
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC665 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC665 | 1.00 | 1.76 | 11.92 | 11.92 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C05C
Deuteranopia (green-blind)
#D8C56A
Tritanopia (blue-blind)
#DCBBB0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc665; /* rgb */ color: rgb(207, 198, 101); /* oklch */ color: oklch(81.4% 0.120 103.9);
Tailwind
colors: {
custom: {
50: '#e0d793',
500: '#cfc665',
950: '#000000',
},
}SCSS
$custom: #cfc665; $custom-light: #e0d793; $custom-dark: #000000;
JSON
{
"hex": "#cfc665",
"rgb": {
"r": 207,
"g": 198,
"b": 101
},
"hsl": {
"h": 54.906,
"s": 52.475,
"l": 60.392
},
"oklch": {
"l": 0.81394,
"c": 0.11963,
"h": 103.9
},
"luminance": 0.54593
}Semantic roles & 50–950 ramp
primary
#CFC665
secondary
#444B94
accent
#33C026
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F