#B4BA3A#B4BA3A
#B4BA3A is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.1% C 0.147 H 112.0°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BA3A |
|---|---|
| RGB | rgb(180, 186, 58) |
| HSL | hsl(63, 52%, 48%) |
| HSV | hsv(63, 69%, 73%) |
| CMYK | cmyk(3.2%, 0%, 68.8%, 27.1%) |
| CIE-LAB | lab(72.98, -17.95, 60.95) |
| CIE-LCH | lch(72.98, 63.54, 106.41°) |
| OKLab | oklab(76.09% -0.0552 0.1362) |
| OKLCH | oklch(76.09% 0.147 112) |
| XYZ | xyz(37.1462, 45.1275, 10.7559) |
| Luminance | 0.4513 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.14
Mustard Green
#A8B504
ΔE00 3.39
Bile
#B5C306
ΔE00 4.10
Baby Puke Green
#B6C406
ΔE00 4.27
Pea
#A4BF20
ΔE00 4.56
Puke Yellow
#C2BE0E
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BA3A #403ABA
analogous
#BA803A #B4BA3A #74BA3A
triadic
#B4BA3A #3AB4BA #BA3AB4
tetradic
#B4BA3A #3ABA80 #403ABA #BA3A74
square
#B4BA3A #3ABA80 #403ABA #BA3A74
split-complementary
#B4BA3A #3A74BA #803ABA
monochromatic
#5A5D1D #878B2B #B4BA3A #C9CE63 #D9DD92
Accessibility & contrast
On white
2.09
#B4BA3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.03
#B4BA3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BA3A
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BA3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BA3A | 1.00 | 2.09 | 10.03 | 10.03 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B226
Deuteranopia (green-blind)
#C8B543
Tritanopia (blue-blind)
#C0AFA1
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b4ba3a; /* rgb */ color: rgb(180, 186, 58); /* oklch */ color: oklch(76.1% 0.147 112.0);
Tailwind
colors: {
custom: {
50: '#cece78',
500: '#b4ba3a',
950: '#000000',
},
}SCSS
$custom: #b4ba3a; $custom-light: #cece78; $custom-dark: #000000;
JSON
{
"hex": "#b4ba3a",
"rgb": {
"r": 180,
"g": 186,
"b": 58
},
"hsl": {
"h": 62.813,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.76086,
"c": 0.14694,
"h": 112
},
"luminance": 0.45127
}Semantic roles & 50–950 ramp
primary
#B4BA3A
secondary
#8B88C8
accent
#4CDC53
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B