#B4BA3D#B4BA3D
#B4BA3D is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.145 H 112.0°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BA3D |
|---|---|
| RGB | rgb(180, 186, 61) |
| HSL | hsl(63, 51%, 48%) |
| HSV | hsv(63, 67%, 73%) |
| CMYK | cmyk(3.2%, 0%, 67.2%, 27.1%) |
| CIE-LAB | lab(73.00, -17.79, 59.82) |
| CIE-LCH | lch(73.00, 62.41, 106.56°) |
| OKLab | oklab(76.11% -0.0544 0.1343) |
| OKLCH | oklch(76.11% 0.145 112) |
| XYZ | xyz(37.2247, 45.1589, 11.1696) |
| Luminance | 0.4516 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.39
Mustard Green
#A8B504
ΔE00 3.62
Bile
#B5C306
ΔE00 4.35
Baby Puke Green
#B6C406
ΔE00 4.51
Pea
#A4BF20
ΔE00 4.65
Puke Yellow
#C2BE0E
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BA3D #433DBA
analogous
#BA813D #B4BA3D #75BA3D
triadic
#B4BA3D #3DB4BA #BA3DB4
tetradic
#B4BA3D #3DBA81 #433DBA #BA3D75
square
#B4BA3D #3DBA81 #433DBA #BA3D75
split-complementary
#B4BA3D #3D75BA #813DBA
monochromatic
#5B5E1F #878C2E #B4BA3D #C8CD67 #D9DC95
Accessibility & contrast
On white
2.09
#B4BA3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.03
#B4BA3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BA3D
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BA3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BA3D | 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)
#C8B22B
Deuteranopia (green-blind)
#C8B546
Tritanopia (blue-blind)
#C0AFA1
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b4ba3d; /* rgb */ color: rgb(180, 186, 61); /* oklch */ color: oklch(76.1% 0.145 112.0);
Tailwind
colors: {
custom: {
50: '#cece7a',
500: '#b4ba3d',
950: '#000000',
},
}SCSS
$custom: #b4ba3d; $custom-light: #cece7a; $custom-dark: #000000;
JSON
{
"hex": "#b4ba3d",
"rgb": {
"r": 180,
"g": 186,
"b": 61
},
"hsl": {
"h": 62.88,
"s": 50.607,
"l": 48.431
},
"oklch": {
"l": 0.76109,
"c": 0.14489,
"h": 112
},
"luminance": 0.45158
}Semantic roles & 50–950 ramp
primary
#B4BA3D
secondary
#8E8BC8
accent
#4EDA54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C