#B2AB29#B2AB29
#B2AB29 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.5% C 0.143 H 106.2°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AB29 |
|---|---|
| RGB | rgb(178, 171, 41) |
| HSL | hsl(57, 63%, 43%) |
| HSV | hsv(57, 77%, 70%) |
| CMYK | cmyk(0%, 3.9%, 77%, 30.2%) |
| CIE-LAB | lab(68.57, -11.96, 62.67) |
| CIE-LCH | lch(68.57, 63.80, 100.81°) |
| OKLab | oklab(72.5% -0.0399 0.1369) |
| OKLCH | oklch(72.5% 0.143 106.2) |
| XYZ | xyz(33.3246, 38.7521, 7.8219) |
| Luminance | 0.3875 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.07
Vomit
#A2A415
ΔE00 3.48
Muddy Yellow
#BFAC05
ΔE00 4.02
Olive Yellow
#C2B709
ΔE00 4.53
Mustard Green
#A8B504
ΔE00 5.29
Puke Yellow
#C2BE0E
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AB29 #2930B2
analogous
#B26629 #B2AB29 #75B229
triadic
#B2AB29 #29B2AB #AB29B2
tetradic
#B2AB29 #29B266 #2930B2 #B22975
square
#B2AB29 #29B266 #2930B2 #B22975
split-complementary
#B2AB29 #2975B2 #6629B2
monochromatic
#4F4B12 #807B1E #B2AB29 #D4CD44 #DFDA76
Accessibility & contrast
On white
2.40
#B2AB29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.75
#B2AB29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AB29
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AB29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AB29 | 1.00 | 2.40 | 8.75 | 8.75 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA407
Deuteranopia (green-blind)
#BDAA33
Tritanopia (blue-blind)
#BF9F93
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b2ab29; /* rgb */ color: rgb(178, 171, 41); /* oklch */ color: oklch(72.5% 0.143 106.2);
Tailwind
colors: {
custom: {
50: '#cdc36e',
500: '#b2ab29',
950: '#000000',
},
}SCSS
$custom: #b2ab29; $custom-light: #cdc36e; $custom-dark: #000000;
JSON
{
"hex": "#b2ab29",
"rgb": {
"r": 178,
"g": 171,
"b": 41
},
"hsl": {
"h": 56.934,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.72497,
"c": 0.14254,
"h": 106.2
},
"luminance": 0.38751
}Semantic roles & 50–950 ramp
primary
#B2AB29
secondary
#7074C7
accent
#4BE642
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B