#B4BA3E#B4BA3E
#B4BA3E is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.144 H 112.1°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BA3E |
|---|---|
| RGB | rgb(180, 186, 62) |
| HSL | hsl(63, 50%, 49%) |
| HSV | hsv(63, 67%, 73%) |
| CMYK | cmyk(3.2%, 0%, 66.7%, 27.1%) |
| CIE-LAB | lab(73.00, -17.73, 59.43) |
| CIE-LCH | lch(73.00, 62.02, 106.61°) |
| OKLab | oklab(76.12% -0.0541 0.1336) |
| OKLCH | oklch(76.12% 0.144 112.1) |
| XYZ | xyz(37.2519, 45.1698, 11.3128) |
| Luminance | 0.4517 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.48
Mustard Green
#A8B504
ΔE00 3.71
Bile
#B5C306
ΔE00 4.43
Baby Puke Green
#B6C406
ΔE00 4.60
Pea
#A4BF20
ΔE00 4.69
Sick Green
#9DB92C
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BA3E #443EBA
analogous
#BA823E #B4BA3E #76BA3E
triadic
#B4BA3E #3EB4BA #BA3EB4
tetradic
#B4BA3E #3EBA82 #443EBA #BA3E76
square
#B4BA3E #3EBA82 #443EBA #BA3E76
split-complementary
#B4BA3E #3E76BA #823EBA
monochromatic
#5B5E1F #888C2F #B4BA3E #C8CD68 #D9DC96
Accessibility & contrast
On white
2.09
#B4BA3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.03
#B4BA3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BA3E
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BA3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BA3E | 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)
#C8B22C
Deuteranopia (green-blind)
#C8B547
Tritanopia (blue-blind)
#C0AFA1
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b4ba3e; /* rgb */ color: rgb(180, 186, 62); /* oklch */ color: oklch(76.1% 0.144 112.1);
Tailwind
colors: {
custom: {
50: '#cece7a',
500: '#b4ba3e',
950: '#000000',
},
}SCSS
$custom: #b4ba3e; $custom-light: #cece7a; $custom-dark: #000000;
JSON
{
"hex": "#b4ba3e",
"rgb": {
"r": 180,
"g": 186,
"b": 62
},
"hsl": {
"h": 62.903,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.76117,
"c": 0.14418,
"h": 112.1
},
"luminance": 0.45169
}Semantic roles & 50–950 ramp
primary
#B4BA3E
secondary
#8F8CC8
accent
#4EDA55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C