#CFC56D#CFC56D
#CFC56D is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.111 H 102.8°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC56D |
|---|---|
| RGB | rgb(207, 197, 109) |
| HSL | hsl(54, 51%, 62%) |
| HSV | hsv(54, 47%, 81%) |
| CMYK | cmyk(0%, 4.8%, 47.3%, 18.8%) |
| CIE-LAB | lab(78.64, -8.48, 45.11) |
| CIE-LCH | lch(78.64, 45.90, 100.65°) |
| OKLab | oklab(81.29% -0.0245 0.1078) |
| OKLCH | oklch(81.29% 0.111 102.8) |
| XYZ | xyz(48.4599, 54.3035, 22.3940) |
| Luminance | 0.5430 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.37
Sand (survey)
#E2CA76
ΔE00 4.57
Greenish Beige
#C9D179
ΔE00 5.35
Sandy
#F1DA7A
ΔE00 6.66
Greenish Tan
#BCCB7A
ΔE00 7.02
Khaki (CSS)
#F0E68C
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC56D #6D77CF
analogous
#CF946D #CFC56D #A8CF6D
triadic
#CFC56D #6DCFC5 #C56DCF
tetradic
#CFC56D #6DCF94 #6D77CF #CF6DA8
square
#CFC56D #6DCF94 #6D77CF #CF6DA8
split-complementary
#CFC56D #6DA8CF #946DCF
monochromatic
#928830 #C0B33F #CFC56D #DED79B #EDEAC9
Accessibility & contrast
On white
1.77
#CFC56D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.86
#CFC56D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC56D
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC56D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC56D | 1.00 | 1.77 | 11.86 | 11.86 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3C066
Deuteranopia (green-blind)
#D6C571
Tritanopia (blue-blind)
#DCBAB0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc56d; /* rgb */ color: rgb(207, 197, 109); /* oklch */ color: oklch(81.3% 0.111 102.8);
Tailwind
colors: {
custom: {
50: '#dfd699',
500: '#cfc56d',
950: '#000000',
},
}SCSS
$custom: #cfc56d; $custom-light: #dfd699; $custom-dark: #000000;
JSON
{
"hex": "#cfc56d",
"rgb": {
"r": 207,
"g": 197,
"b": 109
},
"hsl": {
"h": 53.878,
"s": 50.515,
"l": 61.961
},
"oklch": {
"l": 0.81291,
"c": 0.11055,
"h": 102.8
},
"luminance": 0.54302
}Semantic roles & 50–950 ramp
primary
#CFC56D
secondary
#485198
accent
#37BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F