#B4BA37#B4BA37
#B4BA37 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.1% C 0.149 H 112.1°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BA37 |
|---|---|
| RGB | rgb(180, 186, 55) |
| HSL | hsl(63, 54%, 47%) |
| HSV | hsv(63, 70%, 73%) |
| CMYK | cmyk(3.2%, 0%, 70.4%, 27.1%) |
| CIE-LAB | lab(72.96, -18.11, 62.05) |
| CIE-LCH | lch(72.96, 64.64, 106.27°) |
| OKLab | oklab(76.06% -0.0559 0.138) |
| OKLCH | oklch(76.06% 0.149 112.1) |
| XYZ | xyz(37.0720, 45.0978, 10.3656) |
| Luminance | 0.4510 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.91
Mustard Green
#A8B504
ΔE00 3.17
Bile
#B5C306
ΔE00 3.88
Baby Puke Green
#B6C406
ΔE00 4.06
Puke Yellow
#C2BE0E
ΔE00 4.43
Pea
#A4BF20
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BA37 #3D37BA
analogous
#BA7F37 #B4BA37 #73BA37
triadic
#B4BA37 #37B4BA #BA37B4
tetradic
#B4BA37 #37BA7F #3D37BA #BA3773
square
#B4BA37 #37BA7F #3D37BA #BA3773
split-complementary
#B4BA37 #3773BA #7F37BA
monochromatic
#595C1B #868B29 #B4BA37 #CAD05F #DADE8E
Accessibility & contrast
On white
2.10
#B4BA37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.02
#B4BA37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BA37
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BA37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BA37 | 1.00 | 2.10 | 10.02 | 10.02 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B120
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#C0AFA0
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b4ba37; /* rgb */ color: rgb(180, 186, 55); /* oklch */ color: oklch(76.1% 0.149 112.1);
Tailwind
colors: {
custom: {
50: '#cece76',
500: '#b4ba37',
950: '#000000',
},
}SCSS
$custom: #b4ba37; $custom-light: #cece76; $custom-dark: #000000;
JSON
{
"hex": "#b4ba37",
"rgb": {
"r": 180,
"g": 186,
"b": 55
},
"hsl": {
"h": 62.748,
"s": 54.357,
"l": 47.255
},
"oklch": {
"l": 0.76064,
"c": 0.14889,
"h": 112.1
},
"luminance": 0.45097
}Semantic roles & 50–950 ramp
primary
#B4BA37
secondary
#8885C8
accent
#4ADE51
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B