#B8B366#B8B366
#B8B366 is a light, moderate yellow. Relative luminance 0.434; OKLCH L 75.4% C 0.099 H 105.3°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B366 |
|---|---|
| RGB | rgb(184, 179, 102) |
| HSL | hsl(56, 37%, 56%) |
| HSV | hsv(56, 45%, 72%) |
| CMYK | cmyk(0%, 2.7%, 44.6%, 27.8%) |
| CIE-LAB | lab(71.82, -9.27, 39.80) |
| CIE-LCH | lch(71.82, 40.86, 103.11°) |
| OKLab | oklab(75.38% -0.0261 0.0958) |
| OKLCH | oklch(75.38% 0.099 105.3) |
| XYZ | xyz(38.2863, 43.3909, 18.9262) |
| Luminance | 0.4339 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 1.22
Khaki (survey)
#AAA662
ΔE00 4.02
Light Olive
#ACBF69
ΔE00 6.61
Sand
#C2B280
ΔE00 6.71
Tan Green
#A9BE70
ΔE00 7.17
Greenish Tan
#BCCB7A
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B366 #666BB8
analogous
#B88A66 #B8B366 #94B866
triadic
#B8B366 #66B8B3 #B366B8
tetradic
#B8B366 #66B88A #666BB8 #B86694
square
#B8B366 #66B88A #666BB8 #B86694
split-complementary
#B8B366 #6694B8 #8A66B8
monochromatic
#706C34 #9A9547 #B8B366 #CBC890 #DFDDBA
Accessibility & contrast
On white
2.17
#B8B366 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#B8B366 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B366
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B366 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B366 | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAE60
Deuteranopia (green-blind)
#C1B269
Tritanopia (blue-blind)
#C3AAA1
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b8b366; /* rgb */ color: rgb(184, 179, 102); /* oklch */ color: oklch(75.4% 0.099 105.3);
Tailwind
colors: {
custom: {
50: '#cfc993',
500: '#b8b366',
950: '#000000',
},
}SCSS
$custom: #b8b366; $custom-light: #cfc993; $custom-dark: #000000;
JSON
{
"hex": "#b8b366",
"rgb": {
"r": 184,
"g": 179,
"b": 102
},
"hsl": {
"h": 56.341,
"s": 36.607,
"l": 56.078
},
"oklch": {
"l": 0.75384,
"c": 0.09928,
"h": 105.3
},
"luminance": 0.4339
}Semantic roles & 50–950 ramp
primary
#B8B366
secondary
#ACAECE
accent
#62CD5B
background
#FCFCF9
surface
#F9F8F1
border
#D2D1CB
text
#14130D
muted
#82827E