#CFCD6C#CFCD6C
#CFCD6C is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.0% C 0.120 H 107.7°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).
Color values
| HEX | #CFCD6C |
|---|---|
| RGB | rgb(207, 205, 108) |
| HSL | hsl(59, 51%, 62%) |
| HSV | hsv(59, 48%, 81%) |
| CMYK | cmyk(0%, 1%, 47.8%, 18.8%) |
| CIE-LAB | lab(80.75, -12.65, 48.15) |
| CIE-LCH | lch(80.75, 49.79, 104.72°) |
| OKLab | oklab(82.96% -0.0365 0.1144) |
| OKLCH | oklch(82.96% 0.12 107.7) |
| XYZ | xyz(50.2713, 58.0120, 22.7337) |
| Luminance | 0.5801 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.25
Greenish Tan
#BCCB7A
ΔE00 5.63
Darkkhaki
#BDB76B
ΔE00 6.22
Sand (survey)
#E2CA76
ΔE00 6.56
Khaki (CSS)
#F0E68C
ΔE00 6.65
Sandy
#F1DA7A
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFCD6C #6C6ECF
analogous
#CF9C6C #CFCD6C #A0CF6C
triadic
#CFCD6C #6CCFCD #CD6CCF
tetradic
#CFCD6C #6CCF9C #6C6ECF #CF6CA0
square
#CFCD6C #6CCF9C #6C6ECF #CF6CA0
split-complementary
#CFCD6C #6CA0CF #9C6CCF
monochromatic
#918F2F #BFBD3E #CFCD6C #DEDD9A #EDECC8
Accessibility & contrast
On white
1.67
#CFCD6C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.60
#CFCD6C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFCD6C
12.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFCD6C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFCD6C | 1.00 | 1.67 | 12.60 | 12.60 |
| #FFFFFF | 1.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC663
Deuteranopia (green-blind)
#DDCA71
Tritanopia (blue-blind)
#DBC2B6
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #cfcd6c; /* rgb */ color: rgb(207, 205, 108); /* oklch */ color: oklch(83.0% 0.120 107.7);
Tailwind
colors: {
custom: {
50: '#dfdc98',
500: '#cfcd6c',
950: '#000000',
},
}SCSS
$custom: #cfcd6c; $custom-light: #dfdc98; $custom-dark: #000000;
JSON
{
"hex": "#cfcd6c",
"rgb": {
"r": 207,
"g": 205,
"b": 108
},
"hsl": {
"h": 58.788,
"s": 50.769,
"l": 61.765
},
"oklch": {
"l": 0.82961,
"c": 0.12012,
"h": 107.7
},
"luminance": 0.58011
}Semantic roles & 50–950 ramp
primary
#CFCD6C
secondary
#484A97
accent
#2ABE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F