#CFB257#CFB257
#CFB257 is a light, moderate yellow. Relative luminance 0.458; OKLCH L 77.1% C 0.116 H 91.9°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB257 |
|---|---|
| RGB | rgb(207, 178, 87) |
| HSL | hsl(46, 56%, 58%) |
| HSV | hsv(46, 58%, 81%) |
| CMYK | cmyk(0%, 14%, 58%, 18.8%) |
| CIE-LAB | lab(73.41, -0.45, 49.58) |
| CIE-LCH | lch(73.41, 49.58, 90.52°) |
| OKLab | oklab(77.07% -0.0037 0.1155) |
| OKLCH | oklch(77.07% 0.116 91.9) |
| XYZ | xyz(43.3747, 45.7965, 15.5699) |
| Luminance | 0.4579 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.75
Tan (survey)
#D1B26F
ΔE00 4.42
Sandy Brown
#C4A661
ΔE00 4.93
Mustard
#DBB42C
ΔE00 5.43
Sandstone
#C9AE74
ΔE00 6.02
Sand Brown
#CBA560
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB257 #5774CF
analogous
#CF7657 #CFB257 #B0CF57
triadic
#CFB257 #57CFB2 #B257CF
tetradic
#CFB257 #57CF76 #5774CF #CF57B0
square
#CFB257 #57CF76 #5774CF #CF57B0
split-complementary
#CFB257 #57B0CF #7657CF
monochromatic
#856E26 #B59634 #CFB257 #DDC887 #EADEB6
Accessibility & contrast
On white
2.07
#CFB257 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.16
#CFB257 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB257
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB257 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB257 | 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)
#C3AF4E
Deuteranopia (green-blind)
#CAB85B
Tritanopia (blue-blind)
#DEA69E
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cfb257; /* rgb */ color: rgb(207, 178, 87); /* oklch */ color: oklch(77.1% 0.116 91.9);
Tailwind
colors: {
custom: {
50: '#e0c889',
500: '#cfb257',
950: '#000000',
},
}SCSS
$custom: #cfb257; $custom-light: #e0c889; $custom-dark: #000000;
JSON
{
"hex": "#cfb257",
"rgb": {
"r": 207,
"g": 178,
"b": 87
},
"hsl": {
"h": 45.5,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.77073,
"c": 0.11553,
"h": 91.9
},
"luminance": 0.45794
}Semantic roles & 50–950 ramp
primary
#CFB257
secondary
#A9B4D9
accent
#6DDF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D