#CFC17C#CFC17C
#CFC17C is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.7% C 0.090 H 98.1°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC17C |
|---|---|
| RGB | rgb(207, 193, 124) |
| HSL | hsl(50, 46%, 65%) |
| HSV | hsv(50, 40%, 81%) |
| CMYK | cmyk(0%, 6.8%, 40.1%, 18.8%) |
| CIE-LAB | lab(77.79, -4.89, 36.50) |
| CIE-LCH | lch(77.79, 36.83, 97.64°) |
| OKLab | oklab(80.69% -0.0128 0.0893) |
| OKLCH | oklch(80.69% 0.09 98.1) |
| XYZ | xyz(48.4412, 52.8621, 26.7166) |
| Luminance | 0.5286 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.18
Sand (survey)
#E2CA76
ΔE00 4.51
Sand
#C2B280
ΔE00 5.48
Tan (survey)
#D1B26F
ΔE00 6.23
Sandstone
#C9AE74
ΔE00 6.62
Desert
#CCAD60
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC17C #7C8ACF
analogous
#CF987C #CFC17C #B3CF7C
triadic
#CFC17C #7CCFC1 #C17CCF
tetradic
#CFC17C #7CCF98 #7C8ACF #CF7CB3
square
#CFC17C #7CCF98 #7C8ACF #CF7CB3
split-complementary
#CFC17C #7CB3CF #987CCF
monochromatic
#998838 #BFAC4F #CFC17C #DFD6A9 #F0EBD6
Accessibility & contrast
On white
1.81
#CFC17C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.57
#CFC17C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC17C
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC17C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC17C | 1.00 | 1.81 | 11.57 | 11.57 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBD77
Deuteranopia (green-blind)
#D2C37F
Tritanopia (blue-blind)
#DBB8B0
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc17c; /* rgb */ color: rgb(207, 193, 124); /* oklch */ color: oklch(80.7% 0.090 98.1);
Tailwind
colors: {
custom: {
50: '#dfd3a3',
500: '#cfc17c',
950: '#000000',
},
}SCSS
$custom: #cfc17c; $custom-light: #dfd3a3; $custom-dark: #000000;
JSON
{
"hex": "#cfc17c",
"rgb": {
"r": 207,
"g": 193,
"b": 124
},
"hsl": {
"h": 49.88,
"s": 46.369,
"l": 64.902
},
"oklch": {
"l": 0.80688,
"c": 0.09025,
"h": 98.1
},
"luminance": 0.52861
}Semantic roles & 50–950 ramp
primary
#CFC17C
secondary
#515E9E
accent
#44BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380