#B8A450#B8A450
#B8A450 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.9% C 0.107 H 96.1°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A450 |
|---|---|
| RGB | rgb(184, 164, 80) |
| HSL | hsl(48, 42%, 52%) |
| HSV | hsv(48, 57%, 72%) |
| CMYK | cmyk(0%, 10.9%, 56.5%, 27.8%) |
| CIE-LAB | lab(67.52, -3.35, 45.58) |
| CIE-LCH | lch(67.52, 45.70, 94.21°) |
| OKLab | oklab(71.89% -0.0115 0.1065) |
| OKLCH | oklch(71.89% 0.107 96.1) |
| XYZ | xyz(34.4919, 37.3220, 12.9749) |
| Luminance | 0.3732 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 4.65
Desert
#CCAD60
ΔE00 4.97
Khaki (survey)
#AAA662
ΔE00 5.68
Darkkhaki
#BDB76B
ΔE00 6.54
Sandstone
#C9AE74
ΔE00 6.80
Sand Brown
#CBA560
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A450 #5064B8
analogous
#B87050 #B8A450 #98B850
triadic
#B8A450 #50B8A4 #A450B8
tetradic
#B8A450 #50B870 #5064B8 #B85098
square
#B8A450 #50B870 #5064B8 #B85098
split-complementary
#B8A450 #5098B8 #7050B8
monochromatic
#655929 #90803B #B8A450 #CABB7C #DBD1A7
Accessibility & contrast
On white
2.48
#B8A450 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.46
#B8A450 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A450
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A450 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A450 | 1.00 | 2.48 | 8.46 | 8.46 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A148
Deuteranopia (green-blind)
#B8A754
Tritanopia (blue-blind)
#C59991
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b8a450; /* rgb */ color: rgb(184, 164, 80); /* oklch */ color: oklch(71.9% 0.107 96.1);
Tailwind
colors: {
custom: {
50: '#d0be84',
500: '#b8a450',
950: '#000000',
},
}SCSS
$custom: #b8a450; $custom-light: #d0be84; $custom-dark: #000000;
JSON
{
"hex": "#b8a450",
"rgb": {
"r": 184,
"g": 164,
"b": 80
},
"hsl": {
"h": 48.462,
"s": 42.276,
"l": 51.765
},
"oklch": {
"l": 0.71887,
"c": 0.10716,
"h": 96.1
},
"luminance": 0.3732
}Semantic roles & 50–950 ramp
primary
#B8A450
secondary
#9BA4C9
accent
#6ED256
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120B
muted
#83817C