#B8A148#B8A148
#B8A148 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.2% C 0.112 H 94.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A148 |
|---|---|
| RGB | rgb(184, 161, 72) |
| HSL | hsl(48, 44%, 50%) |
| HSV | hsv(48, 61%, 72%) |
| CMYK | cmyk(0%, 12.5%, 60.9%, 27.8%) |
| CIE-LAB | lab(66.63, -2.35, 48.39) |
| CIE-LCH | lch(66.63, 48.45, 92.78°) |
| OKLab | oklab(71.16% -0.0096 0.1116) |
| OKLCH | oklch(71.16% 0.112 94.9) |
| XYZ | xyz(33.6832, 36.1496, 11.3330) |
| Luminance | 0.3615 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 4.87
Desert
#CCAD60
ΔE00 5.26
Brown Yellow
#B29705
ΔE00 5.80
Ocher
#BF9B0C
ΔE00 5.99
Dark Gold
#B59410
ΔE00 6.05
Camel (survey)
#C69F59
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A148 #485FB8
analogous
#B86948 #B8A148 #97B848
triadic
#B8A148 #48B8A1 #A148B8
tetradic
#B8A148 #48B869 #485FB8 #B84897
square
#B8A148 #48B869 #485FB8 #B84897
split-complementary
#B8A148 #4897B8 #6948B8
monochromatic
#605425 #8C7B36 #B8A148 #C9B874 #DACEA0
Accessibility & contrast
On white
2.55
#B8A148 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#B8A148 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A148
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A148 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A148 | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09E3F
Deuteranopia (green-blind)
#B6A54C
Tritanopia (blue-blind)
#C6968D
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b8a148; /* rgb */ color: rgb(184, 161, 72); /* oklch */ color: oklch(71.2% 0.112 94.9);
Tailwind
colors: {
custom: {
50: '#d0bc7e',
500: '#b8a148',
950: '#000000',
},
}SCSS
$custom: #b8a148; $custom-light: #d0bc7e; $custom-dark: #000000;
JSON
{
"hex": "#b8a148",
"rgb": {
"r": 184,
"g": 161,
"b": 72
},
"hsl": {
"h": 47.679,
"s": 44.094,
"l": 50.196
},
"oklch": {
"l": 0.71161,
"c": 0.11202,
"h": 94.9
},
"luminance": 0.36148
}Semantic roles & 50–950 ramp
primary
#B8A148
secondary
#959FC7
accent
#6ED454
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C