#CFC57A#CFC57A
#CFC57A is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.097 H 101.7°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC57A |
|---|---|
| RGB | rgb(207, 197, 122) |
| HSL | hsl(53, 47%, 65%) |
| HSV | hsv(53, 41%, 81%) |
| CMYK | cmyk(0%, 4.8%, 41.1%, 18.8%) |
| CIE-LAB | lab(78.81, -7.18, 38.83) |
| CIE-LCH | lch(78.81, 39.49, 100.48°) |
| OKLab | oklab(81.49% -0.0195 0.0945) |
| OKLCH | oklch(81.49% 0.097 101.7) |
| XYZ | xyz(49.2122, 54.6044, 26.3559) |
| Luminance | 0.5460 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.06
Sand (survey)
#E2CA76
ΔE00 4.63
Greenish Beige
#C9D179
ΔE00 5.56
Greenish Tan
#BCCB7A
ΔE00 6.79
Sand
#C2B280
ΔE00 7.08
Sandy
#F1DA7A
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC57A #7A84CF
analogous
#CF9B7A #CFC57A #AFCF7A
triadic
#CFC57A #7ACFC5 #C57ACF
tetradic
#CFC57A #7ACF9B #7A84CF #CF7AAF
square
#CFC57A #7ACF9B #7A84CF #CF7AAF
split-complementary
#CFC57A #7AAFCF #9B7ACF
monochromatic
#988C37 #BFB14D #CFC57A #DFD9A7 #EFECD4
Accessibility & contrast
On white
1.76
#CFC57A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.92
#CFC57A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC57A
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC57A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC57A | 1.00 | 1.76 | 11.92 | 11.92 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2C074
Deuteranopia (green-blind)
#D5C57D
Tritanopia (blue-blind)
#DBBBB3
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc57a; /* rgb */ color: rgb(207, 197, 122); /* oklch */ color: oklch(81.5% 0.097 101.7);
Tailwind
colors: {
custom: {
50: '#dfd6a1',
500: '#cfc57a',
950: '#000000',
},
}SCSS
$custom: #cfc57a; $custom-light: #dfd6a1; $custom-dark: #000000;
JSON
{
"hex": "#cfc57a",
"rgb": {
"r": 207,
"g": 197,
"b": 122
},
"hsl": {
"h": 52.941,
"s": 46.961,
"l": 64.51
},
"oklch": {
"l": 0.81486,
"c": 0.09654,
"h": 101.7
},
"luminance": 0.54603
}Semantic roles & 50–950 ramp
primary
#CFC57A
secondary
#50599E
accent
#3CBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380