#CFB956#CFB956
#CFB956 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.5% C 0.122 H 96.9°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB956 |
|---|---|
| RGB | rgb(207, 185, 86) |
| HSL | hsl(49, 56%, 57%) |
| HSV | hsv(49, 58%, 81%) |
| CMYK | cmyk(0%, 10.6%, 58.5%, 18.8%) |
| CIE-LAB | lab(75.23, -4.20, 52.11) |
| CIE-LCH | lch(75.23, 52.28, 94.61°) |
| OKLab | oklab(78.5% -0.0147 0.1208) |
| OKLCH | oklch(78.5% 0.122 96.9) |
| XYZ | xyz(44.7626, 48.6372, 15.8324) |
| Luminance | 0.4864 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.17
Desert
#CCAD60
ΔE00 5.40
Mustard
#DBB42C
ΔE00 5.85
Darkkhaki
#BDB76B
ΔE00 5.97
Brownish Yellow
#C9B003
ΔE00 6.18
Mustard (survey)
#CEB301
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB956 #566CCF
analogous
#CF7D56 #CFB956 #A8CF56
triadic
#CFB956 #56CFB9 #B956CF
tetradic
#CFB956 #56CF7D #566CCF #CF56A8
square
#CFB956 #56CF7D #566CCF #CF56A8
split-complementary
#CFB956 #56A8CF #7D56CF
monochromatic
#857426 #B59D33 #CFB956 #DDCD86 #EAE0B5
Accessibility & contrast
On white
1.96
#CFB956 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.73
#CFB956 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB956
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB956 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB956 | 1.00 | 1.96 | 10.73 | 10.73 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B54C
Deuteranopia (green-blind)
#CFBC5B
Tritanopia (blue-blind)
#DEADA3
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #cfb956; /* rgb */ color: rgb(207, 185, 86); /* oklch */ color: oklch(78.5% 0.122 96.9);
Tailwind
colors: {
custom: {
50: '#e0cd89',
500: '#cfb956',
950: '#000000',
},
}SCSS
$custom: #cfb956; $custom-light: #e0cd89; $custom-dark: #000000;
JSON
{
"hex": "#cfb956",
"rgb": {
"r": 207,
"g": 185,
"b": 86
},
"hsl": {
"h": 49.091,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.78502,
"c": 0.12171,
"h": 96.9
},
"luminance": 0.48635
}Semantic roles & 50–950 ramp
primary
#CFB956
secondary
#A8B1D9
accent
#64DF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D