#B8A462#B8A462
#B8A462 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 72.1% C 0.089 H 93.1°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A462 |
|---|---|
| RGB | rgb(184, 164, 98) |
| HSL | hsl(46, 38%, 55%) |
| HSV | hsv(46, 47%, 72%) |
| CMYK | cmyk(0%, 10.9%, 46.7%, 27.8%) |
| CIE-LAB | lab(67.74, -1.73, 36.78) |
| CIE-LCH | lch(67.74, 36.82, 92.70°) |
| OKLab | oklab(72.14% -0.0048 0.0888) |
| OKLCH | oklch(72.14% 0.089 93.1) |
| XYZ | xyz(35.2483, 37.6245, 16.9585) |
| Luminance | 0.3762 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 3.32
Sandstone
#C9AE74
ΔE00 4.60
Desert
#CCAD60
ΔE00 4.73
Khaki (survey)
#AAA662
ΔE00 5.16
Sand
#C2B280
ΔE00 5.40
Tan (survey)
#D1B26F
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A462 #6276B8
analogous
#B87962 #B8A462 #A1B862
triadic
#B8A462 #62B8A4 #A462B8
tetradic
#B8A462 #62B879 #6276B8 #B862A1
square
#B8A462 #62B879 #6276B8 #B862A1
split-complementary
#B8A462 #62A1B8 #7962B8
monochromatic
#6E6032 #988545 #B8A462 #CBBC8C #DED5B6
Accessibility & contrast
On white
2.46
#B8A462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#B8A462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A462
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A462 | 1.00 | 2.46 | 8.52 | 8.52 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A25D
Deuteranopia (green-blind)
#B6A864
Tritanopia (blue-blind)
#C49B94
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b8a462; /* rgb */ color: rgb(184, 164, 98); /* oklch */ color: oklch(72.1% 0.089 93.1);
Tailwind
colors: {
custom: {
50: '#cfbe90',
500: '#b8a462',
950: '#000000',
},
}SCSS
$custom: #b8a462; $custom-light: #cfbe90; $custom-dark: #000000;
JSON
{
"hex": "#b8a462",
"rgb": {
"r": 184,
"g": 164,
"b": 98
},
"hsl": {
"h": 46.047,
"s": 37.719,
"l": 55.294
},
"oklch": {
"l": 0.72137,
"c": 0.08888,
"h": 93.1
},
"luminance": 0.37623
}Semantic roles & 50–950 ramp
primary
#B8A462
secondary
#A9B1CD
accent
#75CE5A
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120C
muted
#82817D