#CFC57D#CFC57D
#CFC57D is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.093 H 101.4°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC57D |
|---|---|
| RGB | rgb(207, 197, 125) |
| HSL | hsl(53, 46%, 65%) |
| HSV | hsv(53, 40%, 81%) |
| CMYK | cmyk(0%, 4.8%, 39.6%, 18.8%) |
| CIE-LAB | lab(78.86, -6.86, 37.35) |
| CIE-LCH | lch(78.86, 37.98, 100.40°) |
| OKLab | oklab(81.54% -0.0184 0.0913) |
| OKLCH | oklch(81.54% 0.093 101.4) |
| XYZ | xyz(49.4010, 54.6799, 27.3500) |
| Luminance | 0.5468 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.17
Sand (survey)
#E2CA76
ΔE00 4.80
Greenish Beige
#C9D179
ΔE00 5.76
Sand
#C2B280
ΔE00 6.72
Greenish Tan
#BCCB7A
ΔE00 6.85
Beige (survey)
#E6DAA6
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC57D #7D87CF
analogous
#CF9C7D #CFC57D #B0CF7D
triadic
#CFC57D #7DCFC5 #C57DCF
tetradic
#CFC57D #7DCF9C #7D87CF #CF7DB0
square
#CFC57D #7DCF9C #7D87CF #CF7DB0
split-complementary
#CFC57D #7DB0CF #9C7DCF
monochromatic
#998D39 #BEB150 #CFC57D #E0D9AA #F0EDD6
Accessibility & contrast
On white
1.76
#CFC57D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.94
#CFC57D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC57D
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC57D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC57D | 1.00 | 1.76 | 11.94 | 11.94 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1C178
Deuteranopia (green-blind)
#D5C580
Tritanopia (blue-blind)
#DABCB3
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc57d; /* rgb */ color: rgb(207, 197, 125); /* oklch */ color: oklch(81.5% 0.093 101.4);
Tailwind
colors: {
custom: {
50: '#dfd6a3',
500: '#cfc57d',
950: '#000000',
},
}SCSS
$custom: #cfc57d; $custom-light: #dfd6a3; $custom-dark: #000000;
JSON
{
"hex": "#cfc57d",
"rgb": {
"r": 207,
"g": 197,
"b": 125
},
"hsl": {
"h": 52.683,
"s": 46.067,
"l": 65.098
},
"oklch": {
"l": 0.81535,
"c": 0.09316,
"h": 101.4
},
"luminance": 0.54679
}Semantic roles & 50–950 ramp
primary
#CFC57D
secondary
#515B9F
accent
#3DB92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380