#B7AB2E#B7AB2E
#B7AB2E is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.139 H 103.7°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AB2E |
|---|---|
| RGB | rgb(183, 171, 46) |
| HSL | hsl(55, 60%, 45%) |
| HSV | hsv(55, 75%, 72%) |
| CMYK | cmyk(0%, 6.6%, 74.9%, 28.2%) |
| CIE-LAB | lab(69.03, -9.56, 61.59) |
| CIE-LCH | lch(69.03, 62.32, 98.83°) |
| OKLab | oklab(72.98% -0.033 0.1353) |
| OKLCH | oklch(72.98% 0.139 103.7) |
| XYZ | xyz(34.5860, 39.3918, 8.3658) |
| Luminance | 0.3939 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.18
Puke
#A5A502
ΔE00 4.23
Olive Yellow
#C2B709
ΔE00 4.36
Vomit
#A2A415
ΔE00 4.68
Brownish Yellow
#C9B003
ΔE00 4.91
Mustard (survey)
#CEB301
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AB2E #2E3AB7
analogous
#B7672E #B7AB2E #7EB72E
triadic
#B7AB2E #2EB7AB #AB2EB7
tetradic
#B7AB2E #2EB767 #2E3AB7 #B72E7E
square
#B7AB2E #2EB767 #2E3AB7 #B72E7E
split-complementary
#B7AB2E #2E7EB7 #672EB7
monochromatic
#555015 #867D22 #B7AB2E #D3C74F #DFD780
Accessibility & contrast
On white
2.37
#B7AB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#B7AB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AB2E
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AB2E | 1.00 | 2.37 | 8.88 | 8.88 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA515
Deuteranopia (green-blind)
#BFAB37
Tritanopia (blue-blind)
#C59F93
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b7ab2e; /* rgb */ color: rgb(183, 171, 46); /* oklch */ color: oklch(73.0% 0.139 103.7);
Tailwind
colors: {
custom: {
50: '#d0c370',
500: '#b7ab2e',
950: '#000000',
},
}SCSS
$custom: #b7ab2e; $custom-light: #d0c370; $custom-dark: #000000;
JSON
{
"hex": "#b7ab2e",
"rgb": {
"r": 183,
"g": 171,
"b": 46
},
"hsl": {
"h": 54.745,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.72978,
"c": 0.13925,
"h": 103.7
},
"luminance": 0.3939
}Semantic roles & 50–950 ramp
primary
#B7AB2E
secondary
#7980C8
accent
#53E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B