#CFC17A#CFC17A
#CFC17A is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.7% C 0.092 H 98.4°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC17A |
|---|---|
| RGB | rgb(207, 193, 122) |
| HSL | hsl(50, 47%, 65%) |
| HSV | hsv(50, 41%, 81%) |
| CMYK | cmyk(0%, 6.8%, 41.1%, 18.8%) |
| CIE-LAB | lab(77.76, -5.11, 37.49) |
| CIE-LCH | lch(77.76, 37.84, 97.76°) |
| OKLab | oklab(80.66% -0.0136 0.0915) |
| OKLCH | oklch(80.66% 0.093 98.4) |
| XYZ | xyz(48.3160, 52.8120, 26.0572) |
| Luminance | 0.5281 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.05
Sand (survey)
#E2CA76
ΔE00 4.35
Sand
#C2B280
ΔE00 5.75
Tan (survey)
#D1B26F
ΔE00 6.30
Sandstone
#C9AE74
ΔE00 6.77
Desert
#CCAD60
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC17A #7A88CF
analogous
#CF977A #CFC17A #B2CF7A
triadic
#CFC17A #7ACFC1 #C17ACF
tetradic
#CFC17A #7ACF97 #7A88CF #CF7AB2
square
#CFC17A #7ACF97 #7A88CF #CF7AB2
split-complementary
#CFC17A #7AB2CF #977ACF
monochromatic
#988837 #BFAC4D #CFC17A #DFD6A7 #EFEBD4
Accessibility & contrast
On white
1.82
#CFC17A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.56
#CFC17A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC17A
11.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC17A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC17A | 1.00 | 1.82 | 11.56 | 11.56 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBD75
Deuteranopia (green-blind)
#D2C37D
Tritanopia (blue-blind)
#DBB7AF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc17a; /* rgb */ color: rgb(207, 193, 122); /* oklch */ color: oklch(80.7% 0.092 98.4);
Tailwind
colors: {
custom: {
50: '#dfd3a1',
500: '#cfc17a',
950: '#000000',
},
}SCSS
$custom: #cfc17a; $custom-light: #dfd3a1; $custom-dark: #000000;
JSON
{
"hex": "#cfc17a",
"rgb": {
"r": 207,
"g": 193,
"b": 122
},
"hsl": {
"h": 50.118,
"s": 46.961,
"l": 64.51
},
"oklch": {
"l": 0.80655,
"c": 0.0925,
"h": 98.4
},
"luminance": 0.5281
}Semantic roles & 50–950 ramp
primary
#CFC17A
secondary
#505C9E
accent
#43BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380