#CFC57B#CFC57B
#CFC57B is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.095 H 101.6°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC57B |
|---|---|
| RGB | rgb(207, 197, 123) |
| HSL | hsl(53, 47%, 65%) |
| HSV | hsv(53, 41%, 81%) |
| CMYK | cmyk(0%, 4.8%, 40.6%, 18.8%) |
| CIE-LAB | lab(78.83, -7.07, 38.34) |
| CIE-LCH | lch(78.83, 38.98, 100.45°) |
| OKLab | oklab(81.5% -0.0191 0.0935) |
| OKLCH | oklch(81.5% 0.095 101.6) |
| XYZ | xyz(49.2745, 54.6293, 26.6839) |
| Luminance | 0.5463 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.09
Sand (survey)
#E2CA76
ΔE00 4.68
Greenish Beige
#C9D179
ΔE00 5.62
Greenish Tan
#BCCB7A
ΔE00 6.80
Sand
#C2B280
ΔE00 6.96
Beige (survey)
#E6DAA6
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC57B #7B85CF
analogous
#CF9B7B #CFC57B #AFCF7B
triadic
#CFC57B #7BCFC5 #C57BCF
tetradic
#CFC57B #7BCF9B #7B85CF #CF7BAF
square
#CFC57B #7BCF9B #7B85CF #CF7BAF
split-complementary
#CFC57B #7BAFCF #9B7BCF
monochromatic
#988D37 #BFB14E #CFC57B #DFD9A8 #F0ECD5
Accessibility & contrast
On white
1.76
#CFC57B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.93
#CFC57B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC57B
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC57B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC57B | 1.00 | 1.76 | 11.93 | 11.93 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2C075
Deuteranopia (green-blind)
#D5C57E
Tritanopia (blue-blind)
#DBBCB3
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc57b; /* rgb */ color: rgb(207, 197, 123); /* oklch */ color: oklch(81.5% 0.095 101.6);
Tailwind
colors: {
custom: {
50: '#dfd6a2',
500: '#cfc57b',
950: '#000000',
},
}SCSS
$custom: #cfc57b; $custom-light: #dfd6a2; $custom-dark: #000000;
JSON
{
"hex": "#cfc57b",
"rgb": {
"r": 207,
"g": 197,
"b": 123
},
"hsl": {
"h": 52.857,
"s": 46.667,
"l": 64.706
},
"oklch": {
"l": 0.81502,
"c": 0.09541,
"h": 101.6
},
"luminance": 0.54628
}Semantic roles & 50–950 ramp
primary
#CFC57B
secondary
#50599E
accent
#3DBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380