#B2AB3E#B2AB3E
#B2AB3E is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.6% C 0.129 H 105.6°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AB3E |
|---|---|
| RGB | rgb(178, 171, 62) |
| HSL | hsl(56, 48%, 47%) |
| HSV | hsv(56, 65%, 70%) |
| CMYK | cmyk(0%, 3.9%, 65.2%, 30.2%) |
| CIE-LAB | lab(68.71, -10.90, 54.94) |
| CIE-LCH | lch(68.71, 56.01, 101.22°) |
| OKLab | oklab(72.65% -0.0348 0.1242) |
| OKLCH | oklch(72.65% 0.129 105.6) |
| XYZ | xyz(33.7937, 38.9398, 10.2925) |
| Luminance | 0.3894 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.33
Puke
#A5A502
ΔE00 4.44
Muddy Yellow
#BFAC05
ΔE00 5.47
Olive Yellow
#C2B709
ΔE00 5.98
Darkkhaki
#BDB76B
ΔE00 6.17
Mustard Green
#A8B504
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AB3E #3E45B2
analogous
#B2713E #B2AB3E #7FB23E
triadic
#B2AB3E #3EB2AB #AB3EB2
tetradic
#B2AB3E #3EB271 #3E45B2 #B23E7F
square
#B2AB3E #3EB271 #3E45B2 #B23E7F
split-complementary
#B2AB3E #3E7FB2 #713EB2
monochromatic
#57541E #857F2E #B2AB3E #C9C364 #D9D592
Accessibility & contrast
On white
2.39
#B2AB3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.79
#B2AB3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AB3E
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AB3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AB3E | 1.00 | 2.39 | 8.79 | 8.79 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A530
Deuteranopia (green-blind)
#BCAA45
Tritanopia (blue-blind)
#BFA094
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b2ab3e; /* rgb */ color: rgb(178, 171, 62); /* oklch */ color: oklch(72.6% 0.129 105.6);
Tailwind
colors: {
custom: {
50: '#ccc379',
500: '#b2ab3e',
950: '#000000',
},
}SCSS
$custom: #b2ab3e; $custom-light: #ccc379; $custom-dark: #000000;
JSON
{
"hex": "#b2ab3e",
"rgb": {
"r": 178,
"g": 171,
"b": 62
},
"hsl": {
"h": 56.379,
"s": 48.333,
"l": 47.059
},
"oklch": {
"l": 0.72649,
"c": 0.129,
"h": 105.6
},
"luminance": 0.38939
}Semantic roles & 50–950 ramp
primary
#B2AB3E
secondary
#888BC4
accent
#58D850
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B