#B5BA45#B5BA45
#B5BA45 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.3% C 0.139 H 111.6°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B5BA45 |
|---|---|
| RGB | rgb(181, 186, 69) |
| HSL | hsl(63, 46%, 50%) |
| HSV | hsv(63, 63%, 73%) |
| CMYK | cmyk(2.7%, 0%, 62.9%, 27.1%) |
| CIE-LAB | lab(73.14, -16.87, 56.74) |
| CIE-LCH | lch(73.14, 59.19, 106.56°) |
| OKLab | oklab(76.26% -0.051 0.129) |
| OKLCH | oklch(76.26% 0.139 111.6) |
| XYZ | xyz(37.6902, 45.3721, 12.4013) |
| Luminance | 0.4537 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 4.22
Mustard Green
#A8B504
ΔE00 4.41
Bile
#B5C306
ΔE00 5.10
Pea
#A4BF20
ΔE00 5.19
Baby Puke Green
#B6C406
ΔE00 5.25
Sick Green
#9DB92C
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5BA45 #4A45BA
analogous
#BA8445 #B5BA45 #7BBA45
triadic
#B5BA45 #45B5BA #BA45B5
tetradic
#B5BA45 #45BA84 #4A45BA #BA457B
square
#B5BA45 #45BA84 #4A45BA #BA457B
split-complementary
#B5BA45 #457BBA #8445BA
monochromatic
#5E6124 #8A8D34 #B5BA45 #C7CB72 #D9DB9E
Accessibility & contrast
On white
2.08
#B5BA45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.07
#B5BA45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5BA45
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5BA45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5BA45 | 1.00 | 2.08 | 10.07 | 10.07 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B236
Deuteranopia (green-blind)
#C8B54D
Tritanopia (blue-blind)
#C1AFA2
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b5ba45; /* rgb */ color: rgb(181, 186, 69); /* oklch */ color: oklch(76.3% 0.139 111.6);
Tailwind
colors: {
custom: {
50: '#cece7e',
500: '#b5ba45',
950: '#000000',
},
}SCSS
$custom: #b5ba45; $custom-light: #cece7e; $custom-dark: #000000;
JSON
{
"hex": "#b5ba45",
"rgb": {
"r": 181,
"g": 186,
"b": 69
},
"hsl": {
"h": 62.564,
"s": 45.882,
"l": 50
},
"oklch": {
"l": 0.7626,
"c": 0.13872,
"h": 111.6
},
"luminance": 0.45371
}Semantic roles & 50–950 ramp
primary
#B5BA45
secondary
#9593C8
accent
#52D658
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C