#CFB856#CFB856
#CFB856 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.3% C 0.121 H 96.2°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB856 |
|---|---|
| RGB | rgb(207, 184, 86) |
| HSL | hsl(49, 56%, 57%) |
| HSV | hsv(49, 58%, 81%) |
| CMYK | cmyk(0%, 11.1%, 58.5%, 18.8%) |
| CIE-LAB | lab(74.96, -3.68, 51.82) |
| CIE-LCH | lch(74.96, 51.95, 94.06°) |
| OKLab | oklab(78.3% -0.0132 0.1202) |
| OKLCH | oklch(78.3% 0.121 96.2) |
| XYZ | xyz(44.5541, 48.2203, 15.7629) |
| Luminance | 0.4822 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 5.03
Sand (survey)
#E2CA76
ΔE00 5.26
Mustard
#DBB42C
ΔE00 5.69
Darkkhaki
#BDB76B
ΔE00 6.09
Brownish Yellow
#C9B003
ΔE00 6.19
Mustard (survey)
#CEB301
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB856 #566DCF
analogous
#CF7C56 #CFB856 #A9CF56
triadic
#CFB856 #56CFB8 #B856CF
tetradic
#CFB856 #56CF7C #566DCF #CF56A9
square
#CFB856 #56CF7C #566DCF #CF56A9
split-complementary
#CFB856 #56A9CF #7C56CF
monochromatic
#857326 #B59C33 #CFB856 #DDCC86 #EAE0B5
Accessibility & contrast
On white
1.97
#CFB856 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.64
#CFB856 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB856
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB856 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB856 | 1.00 | 1.97 | 10.64 | 10.64 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B44C
Deuteranopia (green-blind)
#CEBC5A
Tritanopia (blue-blind)
#DEACA2
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #cfb856; /* rgb */ color: rgb(207, 184, 86); /* oklch */ color: oklch(78.3% 0.121 96.2);
Tailwind
colors: {
custom: {
50: '#e0cd89',
500: '#cfb856',
950: '#000000',
},
}SCSS
$custom: #cfb856; $custom-light: #e0cd89; $custom-dark: #000000;
JSON
{
"hex": "#cfb856",
"rgb": {
"r": 207,
"g": 184,
"b": 86
},
"hsl": {
"h": 48.595,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.78295,
"c": 0.1209,
"h": 96.2
},
"luminance": 0.48218
}Semantic roles & 50–950 ramp
primary
#CFB856
secondary
#A8B1D9
accent
#65DF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D