#CFB558#CFB558
#CFB558 is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.7% C 0.117 H 93.9°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB558 |
|---|---|
| RGB | rgb(207, 181, 88) |
| HSL | hsl(47, 55%, 58%) |
| HSV | hsv(47, 57%, 81%) |
| CMYK | cmyk(0%, 12.6%, 57.5%, 18.8%) |
| CIE-LAB | lab(74.20, -1.96, 50.01) |
| CIE-LCH | lch(74.20, 50.05, 92.24°) |
| OKLab | oklab(77.7% -0.008 0.1165) |
| OKLCH | oklch(77.7% 0.117 93.9) |
| XYZ | xyz(44.0193, 47.0198, 15.9877) |
| Luminance | 0.4702 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.71
Tan (survey)
#D1B26F
ΔE00 5.08
Mustard
#DBB42C
ΔE00 5.56
Sand (survey)
#E2CA76
ΔE00 5.57
Sandy Brown
#C4A661
ΔE00 5.82
Darkkhaki
#BDB76B
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB558 #5872CF
analogous
#CF7958 #CFB558 #ADCF58
triadic
#CFB558 #58CFB5 #B558CF
tetradic
#CFB558 #58CF79 #5872CF #CF58AD
square
#CFB558 #58CF79 #5872CF #CF58AD
split-complementary
#CFB558 #58ADCF #7958CF
monochromatic
#867127 #B69934 #CFB558 #DDCA88 #EADFB7
Accessibility & contrast
On white
2.02
#CFB558 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.40
#CFB558 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB558
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB558 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB558 | 1.00 | 2.02 | 10.40 | 10.40 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B24F
Deuteranopia (green-blind)
#CCBA5C
Tritanopia (blue-blind)
#DEA9A0
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #cfb558; /* rgb */ color: rgb(207, 181, 88); /* oklch */ color: oklch(77.7% 0.117 93.9);
Tailwind
colors: {
custom: {
50: '#e0ca8a',
500: '#cfb558',
950: '#000000',
},
}SCSS
$custom: #cfb558; $custom-light: #e0ca8a; $custom-dark: #000000;
JSON
{
"hex": "#cfb558",
"rgb": {
"r": 207,
"g": 181,
"b": 88
},
"hsl": {
"h": 46.891,
"s": 55.349,
"l": 57.843
},
"oklch": {
"l": 0.777,
"c": 0.11679,
"h": 93.9
},
"luminance": 0.47018
}Semantic roles & 50–950 ramp
primary
#CFB558
secondary
#AAB4D9
accent
#6ADF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D