#B5BB31#B5BB31
#B5BB31 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.3% C 0.153 H 112.0°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B5BB31 |
|---|---|
| RGB | rgb(181, 187, 49) |
| HSL | hsl(63, 58%, 46%) |
| HSV | hsv(63, 74%, 73%) |
| CMYK | cmyk(3.2%, 0%, 73.8%, 26.7%) |
| CIE-LAB | lab(73.28, -18.48, 64.49) |
| CIE-LCH | lch(73.28, 67.09, 105.99°) |
| OKLab | oklab(76.33% -0.0575 0.1421) |
| OKLCH | oklch(76.33% 0.153 112) |
| XYZ | xyz(37.3820, 45.5871, 9.7351) |
| Luminance | 0.4559 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.51
Mustard Green
#A8B504
ΔE00 2.95
Bile
#B5C306
ΔE00 3.29
Baby Puke Green
#B6C406
ΔE00 3.46
Puke Yellow
#C2BE0E
ΔE00 3.87
Pea
#A4BF20
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5BB31 #3731BB
analogous
#BB7C31 #B5BB31 #70BB31
triadic
#B5BB31 #31B5BB #BB31B5
tetradic
#B5BB31 #31BB7C #3731BB #BB3170
square
#B5BB31 #31BB7C #3731BB #BB3170
split-complementary
#B5BB31 #3170BB #7C31BB
monochromatic
#575A18 #868B24 #B5BB31 #CDD356 #DCE087
Accessibility & contrast
On white
2.08
#B5BB31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.12
#B5BB31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5BB31
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5BB31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5BB31 | 1.00 | 2.08 | 10.12 | 10.12 |
| #FFFFFF | 2.08 | 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)
#C9B213
Deuteranopia (green-blind)
#CAB63C
Tritanopia (blue-blind)
#C2AFA1
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b5bb31; /* rgb */ color: rgb(181, 187, 49); /* oklch */ color: oklch(76.3% 0.153 112.0);
Tailwind
colors: {
custom: {
50: '#cfcf74',
500: '#b5bb31',
950: '#000000',
},
}SCSS
$custom: #b5bb31; $custom-light: #cfcf74; $custom-dark: #000000;
JSON
{
"hex": "#b5bb31",
"rgb": {
"r": 181,
"g": 187,
"b": 49
},
"hsl": {
"h": 62.609,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.76329,
"c": 0.15329,
"h": 112
},
"luminance": 0.45586
}Semantic roles & 50–950 ramp
primary
#B5BB31
secondary
#827FC9
accent
#46E24D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B