#BBAF78#BBAF78
#BBAF78 is a light, moderate yellow. Relative luminance 0.426; OKLCH L 75.1% C 0.074 H 97.3°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #BBAF78 |
|---|---|
| RGB | rgb(187, 175, 120) |
| HSL | hsl(49, 33%, 60%) |
| HSV | hsv(49, 36%, 73%) |
| CMYK | cmyk(0%, 6.4%, 35.8%, 26.7%) |
| CIE-LAB | lab(71.27, -3.94, 29.79) |
| CIE-LCH | lch(71.27, 30.05, 97.53°) |
| OKLab | oklab(75.1% -0.0095 0.0738) |
| OKLCH | oklch(75.1% 0.074 97.3) |
| XYZ | xyz(39.2143, 42.5819, 23.9191) |
| Luminance | 0.4258 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 2.25
Darkkhaki
#BDB76B
ΔE00 4.84
Sandstone
#C9AE74
ΔE00 4.95
Khaki (survey)
#AAA662
ΔE00 5.00
Putty
#BEAE8A
ΔE00 5.43
Toupe
#C7AC7D
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBAF78 #7884BB
analogous
#BB8E78 #BBAF78 #A5BB78
triadic
#BBAF78 #78BBAF #AF78BB
tetradic
#BBAF78 #78BB8E #7884BB #BB78A5
square
#BBAF78 #78BB8E #7884BB #BB78A5
split-complementary
#BBAF78 #78A5BB #8E78BB
monochromatic
#7B703E #A39552 #BBAF78 #D0C7A1 #E4DFC9
Accessibility & contrast
On white
2.21
#BBAF78 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#BBAF78 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBAF78
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBAF78 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBAF78 | 1.00 | 2.21 | 9.52 | 9.52 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAAC74
Deuteranopia (green-blind)
#BDB07A
Tritanopia (blue-blind)
#C5A7A1
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #bbaf78; /* rgb */ color: rgb(187, 175, 120); /* oklch */ color: oklch(75.1% 0.074 97.3);
Tailwind
colors: {
custom: {
50: '#d0c69f',
500: '#bbaf78',
950: '#000000',
},
}SCSS
$custom: #bbaf78; $custom-light: #d0c69f; $custom-dark: #000000;
JSON
{
"hex": "#bbaf78",
"rgb": {
"r": 187,
"g": 175,
"b": 120
},
"hsl": {
"h": 49.254,
"s": 33.005,
"l": 60.196
},
"oklch": {
"l": 0.75098,
"c": 0.07441,
"h": 97.3
},
"luminance": 0.42581
}Semantic roles & 50–950 ramp
primary
#BBAF78
secondary
#BBBFD4
accent
#4EAC3A
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E