#B5BB34#B5BB34
#B5BB34 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.3% C 0.152 H 112.0°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B5BB34 |
|---|---|
| RGB | rgb(181, 187, 52) |
| HSL | hsl(63, 56%, 47%) |
| HSV | hsv(63, 72%, 73%) |
| CMYK | cmyk(3.2%, 0%, 72.2%, 26.7%) |
| CIE-LAB | lab(73.29, -18.34, 63.48) |
| CIE-LCH | lch(73.29, 66.08, 106.11°) |
| OKLab | oklab(76.35% -0.0569 0.1405) |
| OKLCH | oklch(76.35% 0.152 112) |
| XYZ | xyz(37.4474, 45.6132, 10.0797) |
| Luminance | 0.4561 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.68
Mustard Green
#A8B504
ΔE00 3.10
Bile
#B5C306
ΔE00 3.47
Baby Puke Green
#B6C406
ΔE00 3.65
Puke Yellow
#C2BE0E
ΔE00 4.07
Pea
#A4BF20
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5BB34 #3A34BB
analogous
#BB7E34 #B5BB34 #71BB34
triadic
#B5BB34 #34B5BB #BB34B5
tetradic
#B5BB34 #34BB7E #3A34BB #BB3471
square
#B5BB34 #34BB7E #3A34BB #BB3471
split-complementary
#B5BB34 #3471BB #7E34BB
monochromatic
#585B19 #878B27 #B5BB34 #CCD15B #DBDF8B
Accessibility & contrast
On white
2.07
#B5BB34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.12
#B5BB34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5BB34
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5BB34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5BB34 | 1.00 | 2.07 | 10.12 | 10.12 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B21A
Deuteranopia (green-blind)
#CAB63F
Tritanopia (blue-blind)
#C1AFA1
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b5bb34; /* rgb */ color: rgb(181, 187, 52); /* oklch */ color: oklch(76.3% 0.152 112.0);
Tailwind
colors: {
custom: {
50: '#cfcf75',
500: '#b5bb34',
950: '#000000',
},
}SCSS
$custom: #b5bb34; $custom-light: #cfcf75; $custom-dark: #000000;
JSON
{
"hex": "#b5bb34",
"rgb": {
"r": 181,
"g": 187,
"b": 52
},
"hsl": {
"h": 62.667,
"s": 56.485,
"l": 46.863
},
"oklch": {
"l": 0.76348,
"c": 0.15154,
"h": 112
},
"luminance": 0.45612
}Semantic roles & 50–950 ramp
primary
#B5BB34
secondary
#8582C9
accent
#48E04F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B