#B5BB38#B5BB38
#B5BB38 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.4% C 0.149 H 112.0°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B5BB38 |
|---|---|
| RGB | rgb(181, 187, 56) |
| HSL | hsl(63, 54%, 48%) |
| HSV | hsv(63, 70%, 73%) |
| CMYK | cmyk(3.2%, 0%, 70.1%, 26.7%) |
| CIE-LAB | lab(73.32, -18.14, 62.07) |
| CIE-LCH | lch(73.32, 64.66, 106.29°) |
| OKLab | oklab(76.38% -0.0559 0.1382) |
| OKLCH | oklch(76.38% 0.149 112) |
| XYZ | xyz(37.5414, 45.6508, 10.5745) |
| Luminance | 0.4565 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.95
Mustard Green
#A8B504
ΔE00 3.34
Bile
#B5C306
ΔE00 3.75
Baby Puke Green
#B6C406
ΔE00 3.92
Puke Yellow
#C2BE0E
ΔE00 4.35
Pea
#A4BF20
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5BB38 #3E38BB
analogous
#BB7F38 #B5BB38 #74BB38
triadic
#B5BB38 #38B5BB #BB38B5
tetradic
#B5BB38 #38BB7F #3E38BB #BB3874
square
#B5BB38 #38BB7F #3E38BB #BB3874
split-complementary
#B5BB38 #3874BB #7F38BB
monochromatic
#5A5D1C #878C2A #B5BB38 #CAD061 #DADE90
Accessibility & contrast
On white
2.07
#B5BB38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.13
#B5BB38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5BB38
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5BB38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5BB38 | 1.00 | 2.07 | 10.13 | 10.13 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B222
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#C1B0A1
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b5bb38; /* rgb */ color: rgb(181, 187, 56); /* oklch */ color: oklch(76.4% 0.149 112.0);
Tailwind
colors: {
custom: {
50: '#cecf77',
500: '#b5bb38',
950: '#000000',
},
}SCSS
$custom: #b5bb38; $custom-light: #cecf77; $custom-dark: #000000;
JSON
{
"hex": "#b5bb38",
"rgb": {
"r": 181,
"g": 187,
"b": 56
},
"hsl": {
"h": 62.748,
"s": 53.909,
"l": 47.647
},
"oklch": {
"l": 0.76375,
"c": 0.14906,
"h": 112
},
"luminance": 0.4565
}Semantic roles & 50–950 ramp
primary
#B5BB38
secondary
#8986C8
accent
#4BDD51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B