#B4BB38#B4BB38
#B4BB38 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.3% C 0.149 H 112.5°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BB38 |
|---|---|
| RGB | rgb(180, 187, 56) |
| HSL | hsl(63, 54%, 48%) |
| HSV | hsv(63, 70%, 73%) |
| CMYK | cmyk(3.7%, 0%, 70.1%, 26.7%) |
| CIE-LAB | lab(73.24, -18.56, 61.96) |
| CIE-LCH | lch(73.24, 64.68, 106.68°) |
| OKLab | oklab(76.29% -0.0571 0.138) |
| OKLCH | oklch(76.29% 0.149 112.5) |
| XYZ | xyz(37.3077, 45.5303, 10.5636) |
| Luminance | 0.4553 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.84
Mustard Green
#A8B504
ΔE00 3.25
Bile
#B5C306
ΔE00 3.73
Baby Puke Green
#B6C406
ΔE00 3.90
Pea
#A4BF20
ΔE00 4.27
Puke Yellow
#C2BE0E
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BB38 #3F38BB
analogous
#BB8038 #B4BB38 #73BB38
triadic
#B4BB38 #38B4BB #BB38B4
tetradic
#B4BB38 #38BB80 #3F38BB #BB3873
square
#B4BB38 #38BB80 #3F38BB #BB3873
split-complementary
#B4BB38 #3873BB #8038BB
monochromatic
#595D1C #878C2A #B4BB38 #CAD061 #DADE90
Accessibility & contrast
On white
2.08
#B4BB38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.11
#B4BB38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BB38
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BB38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BB38 | 1.00 | 2.08 | 10.11 | 10.11 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B222
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#C0B0A1
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b4bb38; /* rgb */ color: rgb(180, 187, 56); /* oklch */ color: oklch(76.3% 0.149 112.5);
Tailwind
colors: {
custom: {
50: '#cecf77',
500: '#b4bb38',
950: '#000000',
},
}SCSS
$custom: #b4bb38; $custom-light: #cecf77; $custom-dark: #000000;
JSON
{
"hex": "#b4bb38",
"rgb": {
"r": 180,
"g": 187,
"b": 56
},
"hsl": {
"h": 63.206,
"s": 53.909,
"l": 47.647
},
"oklch": {
"l": 0.76293,
"c": 0.14931,
"h": 112.5
},
"luminance": 0.45529
}Semantic roles & 50–950 ramp
primary
#B4BB38
secondary
#8A86C8
accent
#4BDD52
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B