#B7AB3E#B7AB3E
#B7AB3E is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.1% C 0.129 H 103.0°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AB3E |
|---|---|
| RGB | rgb(183, 171, 62) |
| HSL | hsl(54, 49%, 48%) |
| HSV | hsv(54, 66%, 72%) |
| CMYK | cmyk(0%, 6.6%, 66.1%, 28.2%) |
| CIE-LAB | lab(69.14, -8.74, 55.53) |
| CIE-LCH | lch(69.14, 56.21, 98.94°) |
| OKLab | oklab(73.1% -0.0289 0.1253) |
| OKLCH | oklch(73.1% 0.129 103) |
| XYZ | xyz(34.9622, 39.5423, 10.3473) |
| Luminance | 0.3954 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.57
Puke
#A5A502
ΔE00 5.14
Vomit
#A2A415
ΔE00 5.25
Olive Yellow
#C2B709
ΔE00 5.59
Brownish Yellow
#C9B003
ΔE00 5.98
Darkkhaki
#BDB76B
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AB3E #3E4AB7
analogous
#B76F3E #B7AB3E #86B73E
triadic
#B7AB3E #3EB7AB #AB3EB7
tetradic
#B7AB3E #3EB76F #3E4AB7 #B73E86
square
#B7AB3E #3EB76F #3E4AB7 #B73E86
split-complementary
#B7AB3E #3E86B7 #6F3EB7
monochromatic
#5C561F #89802F #B7AB3E #CBC167 #DBD494
Accessibility & contrast
On white
2.36
#B7AB3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#B7AB3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AB3E
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AB3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AB3E | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA630
Deuteranopia (green-blind)
#BEAB44
Tritanopia (blue-blind)
#C49F95
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b7ab3e; /* rgb */ color: rgb(183, 171, 62); /* oklch */ color: oklch(73.1% 0.129 103.0);
Tailwind
colors: {
custom: {
50: '#d0c379',
500: '#b7ab3e',
950: '#000000',
},
}SCSS
$custom: #b7ab3e; $custom-light: #d0c379; $custom-dark: #000000;
JSON
{
"hex": "#b7ab3e",
"rgb": {
"r": 183,
"g": 171,
"b": 62
},
"hsl": {
"h": 54.05,
"s": 49.388,
"l": 48.039
},
"oklch": {
"l": 0.73099,
"c": 0.12862,
"h": 103
},
"luminance": 0.39541
}Semantic roles & 50–950 ramp
primary
#B7AB3E
secondary
#8A90C6
accent
#5DD94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B