#B8AB2E#B8AB2E
#B8AB2E is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.1% C 0.139 H 103.2°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B8AB2E |
|---|---|
| RGB | rgb(184, 171, 46) |
| HSL | hsl(54, 60%, 45%) |
| HSV | hsv(54, 75%, 72%) |
| CMYK | cmyk(0%, 7.1%, 75%, 27.8%) |
| CIE-LAB | lab(69.12, -9.12, 61.70) |
| CIE-LCH | lch(69.12, 62.37, 98.41°) |
| OKLab | oklab(73.07% -0.0318 0.1355) |
| OKLCH | oklch(73.07% 0.139 103.2) |
| XYZ | xyz(34.8248, 39.5149, 8.3770) |
| Luminance | 0.3951 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.99
Olive Yellow
#C2B709
ΔE00 4.33
Puke
#A5A502
ΔE00 4.45
Brownish Yellow
#C9B003
ΔE00 4.68
Vomit
#A2A415
ΔE00 4.92
Mustard (survey)
#CEB301
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8AB2E #2E3BB8
analogous
#B8662E #B8AB2E #80B82E
triadic
#B8AB2E #2EB8AB #AB2EB8
tetradic
#B8AB2E #2EB866 #2E3BB8 #B82E80
square
#B8AB2E #2EB866 #2E3BB8 #B82E80
split-complementary
#B8AB2E #2E80B8 #662EB8
monochromatic
#565016 #877D22 #B8AB2E #D3C750 #DFD781
Accessibility & contrast
On white
2.36
#B8AB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#B8AB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8AB2E
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8AB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8AB2E | 1.00 | 2.36 | 8.90 | 8.90 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA515
Deuteranopia (green-blind)
#BFAB37
Tritanopia (blue-blind)
#C69F93
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b8ab2e; /* rgb */ color: rgb(184, 171, 46); /* oklch */ color: oklch(73.1% 0.139 103.2);
Tailwind
colors: {
custom: {
50: '#d1c370',
500: '#b8ab2e',
950: '#000000',
},
}SCSS
$custom: #b8ab2e; $custom-light: #d1c370; $custom-dark: #000000;
JSON
{
"hex": "#b8ab2e",
"rgb": {
"r": 184,
"g": 171,
"b": 46
},
"hsl": {
"h": 54.348,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.7307,
"c": 0.13917,
"h": 103.2
},
"luminance": 0.39513
}Semantic roles & 50–950 ramp
primary
#B8AB2E
secondary
#7981C8
accent
#54E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B