#B8AB3E#B8AB3E
#B8AB3E is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.2% C 0.129 H 102.5°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B8AB3E |
|---|---|
| RGB | rgb(184, 171, 62) |
| HSL | hsl(54, 50%, 48%) |
| HSV | hsv(54, 66%, 72%) |
| CMYK | cmyk(0%, 7.1%, 66.3%, 27.8%) |
| CIE-LAB | lab(69.23, -8.31, 55.65) |
| CIE-LCH | lch(69.23, 56.26, 98.49°) |
| OKLab | oklab(73.19% -0.0278 0.1255) |
| OKLCH | oklch(73.19% 0.129 102.5) |
| XYZ | xyz(35.2010, 39.6654, 10.3585) |
| Luminance | 0.3966 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.42
Puke
#A5A502
ΔE00 5.32
Vomit
#A2A415
ΔE00 5.47
Olive Yellow
#C2B709
ΔE00 5.55
Brownish Yellow
#C9B003
ΔE00 5.79
Darkkhaki
#BDB76B
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8AB3E #3E4BB8
analogous
#B86E3E #B8AB3E #88B83E
triadic
#B8AB3E #3EB8AB #AB3EB8
tetradic
#B8AB3E #3EB86E #3E4BB8 #B83E88
square
#B8AB3E #3EB86E #3E4BB8 #B83E88
split-complementary
#B8AB3E #3E88B8 #6E3EB8
monochromatic
#5C561F #8A802F #B8AB3E #CCC167 #DBD495
Accessibility & contrast
On white
2.35
#B8AB3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.93
#B8AB3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8AB3E
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8AB3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8AB3E | 1.00 | 2.35 | 8.93 | 8.93 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA630
Deuteranopia (green-blind)
#BEAC44
Tritanopia (blue-blind)
#C69F95
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b8ab3e; /* rgb */ color: rgb(184, 171, 62); /* oklch */ color: oklch(73.2% 0.129 102.5);
Tailwind
colors: {
custom: {
50: '#d0c379',
500: '#b8ab3e',
950: '#000000',
},
}SCSS
$custom: #b8ab3e; $custom-light: #d0c379; $custom-dark: #000000;
JSON
{
"hex": "#b8ab3e",
"rgb": {
"r": 184,
"g": 171,
"b": 62
},
"hsl": {
"h": 53.607,
"s": 49.593,
"l": 48.235
},
"oklch": {
"l": 0.7319,
"c": 0.12858,
"h": 102.5
},
"luminance": 0.39664
}Semantic roles & 50–950 ramp
primary
#B8AB3E
secondary
#8B91C7
accent
#5DD94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B