#CFB258#CFB258
#CFB258 is a light, moderate yellow. Relative luminance 0.458; OKLCH L 77.1% C 0.115 H 91.7°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB258 |
|---|---|
| RGB | rgb(207, 178, 88) |
| HSL | hsl(45, 55%, 58%) |
| HSV | hsv(45, 57%, 81%) |
| CMYK | cmyk(0%, 14%, 57.5%, 18.8%) |
| CIE-LAB | lab(73.42, -0.38, 49.11) |
| CIE-LCH | lch(73.42, 49.11, 90.44°) |
| OKLab | oklab(77.09% -0.0034 0.1146) |
| OKLCH | oklch(77.09% 0.115 91.7) |
| XYZ | xyz(43.4158, 45.8129, 15.7866) |
| Luminance | 0.4581 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.63
Tan (survey)
#D1B26F
ΔE00 4.27
Sandy Brown
#C4A661
ΔE00 4.82
Mustard
#DBB42C
ΔE00 5.55
Sandstone
#C9AE74
ΔE00 5.87
Sand Brown
#CBA560
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB258 #5875CF
analogous
#CF7658 #CFB258 #B1CF58
triadic
#CFB258 #58CFB2 #B258CF
tetradic
#CFB258 #58CF76 #5875CF #CF58B1
square
#CFB258 #58CF76 #5875CF #CF58B1
split-complementary
#CFB258 #58B1CF #7658CF
monochromatic
#866F27 #B69634 #CFB258 #DDC888 #EADEB7
Accessibility & contrast
On white
2.07
#CFB258 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.16
#CFB258 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB258
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB258 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB258 | 1.00 | 2.07 | 10.16 | 10.16 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AF4F
Deuteranopia (green-blind)
#CAB85C
Tritanopia (blue-blind)
#DEA69E
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cfb258; /* rgb */ color: rgb(207, 178, 88); /* oklch */ color: oklch(77.1% 0.115 91.7);
Tailwind
colors: {
custom: {
50: '#e0c88a',
500: '#cfb258',
950: '#000000',
},
}SCSS
$custom: #cfb258; $custom-light: #e0c88a; $custom-dark: #000000;
JSON
{
"hex": "#cfb258",
"rgb": {
"r": 207,
"g": 178,
"b": 88
},
"hsl": {
"h": 45.378,
"s": 55.349,
"l": 57.843
},
"oklch": {
"l": 0.77085,
"c": 0.11464,
"h": 91.7
},
"luminance": 0.45811
}Semantic roles & 50–950 ramp
primary
#CFB258
secondary
#AAB5D9
accent
#6EDF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D