#CFB256#CFB256
#CFB256 is a light, moderate yellow. Relative luminance 0.458; OKLCH L 77.1% C 0.116 H 92.0°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB256 |
|---|---|
| RGB | rgb(207, 178, 86) |
| HSL | hsl(46, 56%, 57%) |
| HSV | hsv(46, 58%, 81%) |
| CMYK | cmyk(0%, 14%, 58.5%, 18.8%) |
| CIE-LAB | lab(73.40, -0.53, 50.04) |
| CIE-LCH | lch(73.40, 50.04, 90.60°) |
| OKLab | oklab(77.06% -0.0041 0.1164) |
| OKLCH | oklch(77.06% 0.116 92) |
| XYZ | xyz(43.3341, 45.7803, 15.3562) |
| Luminance | 0.4578 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.88
Tan (survey)
#D1B26F
ΔE00 4.57
Sandy Brown
#C4A661
ΔE00 5.04
Mustard
#DBB42C
ΔE00 5.31
Sandstone
#C9AE74
ΔE00 6.17
Sand Brown
#CBA560
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB256 #5673CF
analogous
#CF7656 #CFB256 #AFCF56
triadic
#CFB256 #56CFB2 #B256CF
tetradic
#CFB256 #56CF76 #5673CF #CF56AF
square
#CFB256 #56CF76 #5673CF #CF56AF
split-complementary
#CFB256 #56AFCF #7656CF
monochromatic
#856E26 #B59633 #CFB256 #DDC886 #EADDB5
Accessibility & contrast
On white
2.07
#CFB256 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.16
#CFB256 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB256
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB256 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB256 | 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)
#C3AF4D
Deuteranopia (green-blind)
#CAB85A
Tritanopia (blue-blind)
#DEA69D
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cfb256; /* rgb */ color: rgb(207, 178, 86); /* oklch */ color: oklch(77.1% 0.116 92.0);
Tailwind
colors: {
custom: {
50: '#e0c888',
500: '#cfb256',
950: '#000000',
},
}SCSS
$custom: #cfb256; $custom-light: #e0c888; $custom-dark: #000000;
JSON
{
"hex": "#cfb256",
"rgb": {
"r": 207,
"g": 178,
"b": 86
},
"hsl": {
"h": 45.62,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.77061,
"c": 0.11642,
"h": 92
},
"luminance": 0.45778
}Semantic roles & 50–950 ramp
primary
#CFB256
secondary
#A8B4D9
accent
#6DDF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D