#CFCD7C#CFCD7C
#CFCD7C is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.103 H 107.2°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CFCD7C |
|---|---|
| RGB | rgb(207, 205, 124) |
| HSL | hsl(59, 46%, 65%) |
| HSV | hsv(59, 40%, 81%) |
| CMYK | cmyk(0%, 1%, 40.1%, 18.8%) |
| CIE-LAB | lab(80.95, -11.06, 40.53) |
| CIE-LCH | lch(80.95, 42.01, 105.26°) |
| OKLab | oklab(83.19% -0.0305 0.0985) |
| OKLCH | oklch(83.19% 0.103 107.2) |
| XYZ | xyz(51.2023, 58.3844, 27.6370) |
| Luminance | 0.5838 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 2.76
Greenish Tan
#BCCB7A
ΔE00 4.66
Darkkhaki
#BDB76B
ΔE00 5.59
Pale Olive
#B9CC81
ΔE00 5.91
Sand (survey)
#E2CA76
ΔE00 6.36
Khaki (CSS)
#F0E68C
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFCD7C #7C7ECF
analogous
#CFA37C #CFCD7C #A8CF7C
triadic
#CFCD7C #7CCFCD #CD7CCF
tetradic
#CFCD7C #7CCFA3 #7C7ECF #CF7CA8
square
#CFCD7C #7CCFA3 #7C7ECF #CF7CA8
split-complementary
#CFCD7C #7CA8CF #A37CCF
monochromatic
#999638 #BFBC4F #CFCD7C #DFDEA9 #F0EFD6
Accessibility & contrast
On white
1.66
#CFCD7C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.68
#CFCD7C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFCD7C
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFCD7C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFCD7C | 1.00 | 1.66 | 12.68 | 12.68 |
| #FFFFFF | 1.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C776
Deuteranopia (green-blind)
#DBCB80
Tritanopia (blue-blind)
#DAC4B9
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #cfcd7c; /* rgb */ color: rgb(207, 205, 124); /* oklch */ color: oklch(83.2% 0.103 107.2);
Tailwind
colors: {
custom: {
50: '#dfdca3',
500: '#cfcd7c',
950: '#000000',
},
}SCSS
$custom: #cfcd7c; $custom-light: #dfdca3; $custom-dark: #000000;
JSON
{
"hex": "#cfcd7c",
"rgb": {
"r": 207,
"g": 205,
"b": 124
},
"hsl": {
"h": 58.554,
"s": 46.369,
"l": 64.902
},
"oklch": {
"l": 0.83193,
"c": 0.10312,
"h": 107.2
},
"luminance": 0.58383
}Semantic roles & 50–950 ramp
primary
#CFCD7C
secondary
#51539E
accent
#2FBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480