#CFBC78#CFBC78
#CFBC78 is a light, moderate yellow. Relative luminance 0.506; OKLCH L 79.6% C 0.090 H 94.3°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #CFBC78 |
|---|---|
| RGB | rgb(207, 188, 120) |
| HSL | hsl(47, 48%, 64%) |
| HSV | hsv(47, 42%, 81%) |
| CMYK | cmyk(0%, 9.2%, 42%, 18.8%) |
| CIE-LAB | lab(76.43, -2.72, 36.81) |
| CIE-LCH | lch(76.43, 36.91, 94.22°) |
| OKLab | oklab(79.59% -0.0068 0.0899) |
| OKLCH | oklch(79.59% 0.09 94.3) |
| XYZ | xyz(47.1067, 50.5896, 25.0490) |
| Luminance | 0.5059 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Tan (survey)
#D1B26F
ΔE00 4.34
Sand
#C2B280
ΔE00 4.60
Sand (survey)
#E2CA76
ΔE00 4.65
Darkkhaki
#BDB76B
ΔE00 4.79
Sandstone
#C9AE74
ΔE00 4.85
Desert
#CCAD60
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFBC78 #788BCF
analogous
#CF9178 #CFBC78 #B7CF78
triadic
#CFBC78 #78CFBC #BC78CF
tetradic
#CFBC78 #78CF91 #788BCF #CF78B7
square
#CFBC78 #78CF91 #788BCF #CF78B7
split-complementary
#CFBC78 #78B7CF #9178CF
monochromatic
#978236 #BFA64B #CFBC78 #DFD2A5 #EFE9D2
Accessibility & contrast
On white
1.89
#CFBC78 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.12
#CFBC78 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFBC78
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFBC78 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFBC78 | 1.00 | 1.89 | 11.12 | 11.12 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B973
Deuteranopia (green-blind)
#CEBF7A
Tritanopia (blue-blind)
#DBB2AB
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #cfbc78; /* rgb */ color: rgb(207, 188, 120); /* oklch */ color: oklch(79.6% 0.090 94.3);
Tailwind
colors: {
custom: {
50: '#dfd0a0',
500: '#cfbc78',
950: '#000000',
},
}SCSS
$custom: #cfbc78; $custom-light: #dfd0a0; $custom-dark: #000000;
JSON
{
"hex": "#cfbc78",
"rgb": {
"r": 207,
"g": 188,
"b": 120
},
"hsl": {
"h": 46.897,
"s": 47.541,
"l": 64.118
},
"oklch": {
"l": 0.79591,
"c": 0.09011,
"h": 94.3
},
"luminance": 0.50588
}Semantic roles & 50–950 ramp
primary
#CFBC78
secondary
#4E609D
accent
#4ABB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15130F
muted
#848380