#CFC56A#CFC56A
#CFC56A is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.114 H 103.0°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC56A |
|---|---|
| RGB | rgb(207, 197, 106) |
| HSL | hsl(54, 51%, 61%) |
| HSV | hsv(54, 49%, 81%) |
| CMYK | cmyk(0%, 4.8%, 48.8%, 18.8%) |
| CIE-LAB | lab(78.60, -8.76, 46.54) |
| CIE-LCH | lch(78.60, 47.36, 100.66°) |
| OKLab | oklab(81.25% -0.0256 0.1107) |
| OKLCH | oklch(81.25% 0.114 103) |
| XYZ | xyz(48.3012, 54.2400, 21.5579) |
| Luminance | 0.5424 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.57
Sand (survey)
#E2CA76
ΔE00 4.68
Greenish Beige
#C9D179
ΔE00 5.43
Sandy
#F1DA7A
ΔE00 6.63
Greenish Tan
#BCCB7A
ΔE00 7.17
Dull Yellow
#EEDC5B
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC56A #6A74CF
analogous
#CF936A #CFC56A #A7CF6A
triadic
#CFC56A #6ACFC5 #C56ACF
tetradic
#CFC56A #6ACF93 #6A74CF #CF6AA7
square
#CFC56A #6ACF93 #6A74CF #CF6AA7
split-complementary
#CFC56A #6AA7CF #936ACF
monochromatic
#90862E #BEB23D #CFC56A #DED798 #EDE9C7
Accessibility & contrast
On white
1.77
#CFC56A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.85
#CFC56A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC56A
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC56A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC56A | 1.00 | 1.77 | 11.85 | 11.85 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3C062
Deuteranopia (green-blind)
#D7C56E
Tritanopia (blue-blind)
#DCBAB0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cfc56a; /* rgb */ color: rgb(207, 197, 106); /* oklch */ color: oklch(81.3% 0.114 103.0);
Tailwind
colors: {
custom: {
50: '#dfd697',
500: '#cfc56a',
950: '#000000',
},
}SCSS
$custom: #cfc56a; $custom-light: #dfd697; $custom-dark: #000000;
JSON
{
"hex": "#cfc56a",
"rgb": {
"r": 207,
"g": 197,
"b": 106
},
"hsl": {
"h": 54.059,
"s": 51.269,
"l": 61.373
},
"oklch": {
"l": 0.8125,
"c": 0.11363,
"h": 103
},
"luminance": 0.54239
}Semantic roles & 50–950 ramp
primary
#CFC56A
secondary
#474F96
accent
#36BF27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F