#CFB457#CFB457
#CFB457 is a light, moderate yellow. Relative luminance 0.466; OKLCH L 77.5% C 0.117 H 93.3°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB457 |
|---|---|
| RGB | rgb(207, 180, 87) |
| HSL | hsl(47, 56%, 58%) |
| HSV | hsv(47, 58%, 81%) |
| CMYK | cmyk(0%, 13%, 58%, 18.8%) |
| CIE-LAB | lab(73.93, -1.51, 50.17) |
| CIE-LCH | lch(73.93, 50.19, 91.72°) |
| OKLab | oklab(77.48% -0.0068 0.1168) |
| OKLCH | oklch(77.48% 0.117 93.3) |
| XYZ | xyz(43.7755, 46.5982, 15.7035) |
| Luminance | 0.4660 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.46
Tan (survey)
#D1B26F
ΔE00 4.93
Mustard
#DBB42C
ΔE00 5.41
Sandy Brown
#C4A661
ΔE00 5.59
Sand (survey)
#E2CA76
ΔE00 5.81
Sandstone
#C9AE74
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB457 #5772CF
analogous
#CF7857 #CFB457 #AECF57
triadic
#CFB457 #57CFB4 #B457CF
tetradic
#CFB457 #57CF78 #5772CF #CF57AE
square
#CFB457 #57CF78 #5772CF #CF57AE
split-complementary
#CFB457 #57AECF #7857CF
monochromatic
#857026 #B59834 #CFB457 #DDC987 #EADFB6
Accessibility & contrast
On white
2.04
#CFB457 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.32
#CFB457 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB457
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB457 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB457 | 1.00 | 2.04 | 10.32 | 10.32 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B14E
Deuteranopia (green-blind)
#CBB95B
Tritanopia (blue-blind)
#DEA89F
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #cfb457; /* rgb */ color: rgb(207, 180, 87); /* oklch */ color: oklch(77.5% 0.117 93.3);
Tailwind
colors: {
custom: {
50: '#e0ca89',
500: '#cfb457',
950: '#000000',
},
}SCSS
$custom: #cfb457; $custom-light: #e0ca89; $custom-dark: #000000;
JSON
{
"hex": "#cfb457",
"rgb": {
"r": 207,
"g": 180,
"b": 87
},
"hsl": {
"h": 46.5,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.77482,
"c": 0.11696,
"h": 93.3
},
"luminance": 0.46596
}Semantic roles & 50–950 ramp
primary
#CFB457
secondary
#A9B4D9
accent
#6BDF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D