#B8A150#B8A150
#B8A150 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.3% C 0.105 H 93.7°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A150 |
|---|---|
| RGB | rgb(184, 161, 80) |
| HSL | hsl(47, 42%, 52%) |
| HSV | hsv(47, 57%, 72%) |
| CMYK | cmyk(0%, 12.5%, 56.5%, 27.8%) |
| CIE-LAB | lab(66.72, -1.74, 44.65) |
| CIE-LCH | lch(66.72, 44.68, 92.24°) |
| OKLab | oklab(71.26% -0.0068 0.1045) |
| OKLCH | oklch(71.26% 0.105 93.7) |
| XYZ | xyz(33.9614, 36.2609, 12.7980) |
| Luminance | 0.3626 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 3.94
Desert
#CCAD60
ΔE00 4.76
Camel (survey)
#C69F59
ΔE00 5.86
Sand Brown
#CBA560
ΔE00 6.04
Khaki (survey)
#AAA662
ΔE00 6.35
Sandstone
#C9AE74
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A150 #5067B8
analogous
#B86D50 #B8A150 #9BB850
triadic
#B8A150 #50B8A1 #A150B8
tetradic
#B8A150 #50B86D #5067B8 #B8509B
square
#B8A150 #50B86D #5067B8 #B8509B
split-complementary
#B8A150 #509BB8 #6D50B8
monochromatic
#655729 #907D3B #B8A150 #CAB87C #DBD0A7
Accessibility & contrast
On white
2.54
#B8A150 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#B8A150 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A150
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A150 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A150 | 1.00 | 2.54 | 8.25 | 8.25 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09E48
Deuteranopia (green-blind)
#B5A553
Tritanopia (blue-blind)
#C5968F
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b8a150; /* rgb */ color: rgb(184, 161, 80); /* oklch */ color: oklch(71.3% 0.105 93.7);
Tailwind
colors: {
custom: {
50: '#d0bc83',
500: '#b8a150',
950: '#000000',
},
}SCSS
$custom: #b8a150; $custom-light: #d0bc83; $custom-dark: #000000;
JSON
{
"hex": "#b8a150",
"rgb": {
"r": 184,
"g": 161,
"b": 80
},
"hsl": {
"h": 46.731,
"s": 42.276,
"l": 51.765
},
"oklch": {
"l": 0.71255,
"c": 0.10475,
"h": 93.7
},
"luminance": 0.36259
}Semantic roles & 50–950 ramp
primary
#B8A150
secondary
#9BA5C9
accent
#71D256
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120B
muted
#83817C