#B2AB36#B2AB36
#B2AB36 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.6% C 0.135 H 105.9°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AB36 |
|---|---|
| RGB | rgb(178, 171, 54) |
| HSL | hsl(57, 53%, 45%) |
| HSV | hsv(57, 70%, 70%) |
| CMYK | cmyk(0%, 3.9%, 69.7%, 30.2%) |
| CIE-LAB | lab(68.65, -11.36, 58.12) |
| CIE-LCH | lch(68.65, 59.22, 101.06°) |
| OKLab | oklab(72.58% -0.0369 0.1296) |
| OKLCH | oklch(72.58% 0.135 105.9) |
| XYZ | xyz(33.5902, 38.8583, 9.2203) |
| Luminance | 0.3886 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.78
Vomit
#A2A415
ΔE00 3.84
Muddy Yellow
#BFAC05
ΔE00 4.80
Olive Yellow
#C2B709
ΔE00 5.32
Mustard Green
#A8B504
ΔE00 5.79
Puke Yellow
#C2BE0E
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AB36 #363DB2
analogous
#B26D36 #B2AB36 #7BB236
triadic
#B2AB36 #36B2AB #AB36B2
tetradic
#B2AB36 #36B26D #363DB2 #B2367B
square
#B2AB36 #36B26D #363DB2 #B2367B
split-complementary
#B2AB36 #367BB2 #6D36B2
monochromatic
#54511A #837E28 #B2AB36 #CDC659 #DBD688
Accessibility & contrast
On white
2.39
#B2AB36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#B2AB36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AB36
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AB36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AB36 | 1.00 | 2.39 | 8.77 | 8.77 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA524
Deuteranopia (green-blind)
#BCAA3E
Tritanopia (blue-blind)
#BFA094
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b2ab36; /* rgb */ color: rgb(178, 171, 54); /* oklch */ color: oklch(72.6% 0.135 105.9);
Tailwind
colors: {
custom: {
50: '#ccc374',
500: '#b2ab36',
950: '#000000',
},
}SCSS
$custom: #b2ab36; $custom-light: #ccc374; $custom-dark: #000000;
JSON
{
"hex": "#b2ab36",
"rgb": {
"r": 178,
"g": 171,
"b": 54
},
"hsl": {
"h": 56.613,
"s": 53.448,
"l": 45.49
},
"oklch": {
"l": 0.72583,
"c": 0.13476,
"h": 105.9
},
"luminance": 0.38857
}Semantic roles & 50–950 ramp
primary
#B2AB36
secondary
#7F83C5
accent
#53DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B