#B2BB38#B2BB38
#B2BB38 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.1% C 0.150 H 113.3°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BB38 |
|---|---|
| RGB | rgb(178, 187, 56) |
| HSL | hsl(64, 54%, 48%) |
| HSV | hsv(64, 70%, 73%) |
| CMYK | cmyk(4.8%, 0%, 70.1%, 26.7%) |
| CIE-LAB | lab(73.08, -19.41, 61.76) |
| CIE-LCH | lch(73.08, 64.73, 107.45°) |
| OKLab | oklab(76.13% -0.0593 0.1376) |
| OKLCH | oklch(76.13% 0.15 113.3) |
| XYZ | xyz(36.8453, 45.2919, 10.5419) |
| Luminance | 0.4529 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.70
Mustard Green
#A8B504
ΔE00 3.14
Bile
#B5C306
ΔE00 3.74
Pea
#A4BF20
ΔE00 3.86
Baby Puke Green
#B6C406
ΔE00 3.93
Sick Green
#9DB92C
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BB38 #4138BB
analogous
#BB8238 #B2BB38 #71BB38
triadic
#B2BB38 #38B2BB #BB38B2
tetradic
#B2BB38 #38BB82 #4138BB #BB3871
square
#B2BB38 #38BB82 #4138BB #BB3871
split-complementary
#B2BB38 #3871BB #8238BB
monochromatic
#585D1C #858C2A #B2BB38 #C8D061 #D8DE90
Accessibility & contrast
On white
2.09
#B2BB38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.06
#B2BB38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BB38
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BB38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BB38 | 1.00 | 2.09 | 10.06 | 10.06 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B222
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#BEB0A1
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b2bb38; /* rgb */ color: rgb(178, 187, 56); /* oklch */ color: oklch(76.1% 0.150 113.3);
Tailwind
colors: {
custom: {
50: '#cccf77',
500: '#b2bb38',
950: '#000000',
},
}SCSS
$custom: #b2bb38; $custom-light: #cccf77; $custom-dark: #000000;
JSON
{
"hex": "#b2bb38",
"rgb": {
"r": 178,
"g": 187,
"b": 56
},
"hsl": {
"h": 64.122,
"s": 53.909,
"l": 47.647
},
"oklch": {
"l": 0.7613,
"c": 0.14984,
"h": 113.3
},
"luminance": 0.45291
}Semantic roles & 50–950 ramp
primary
#B2BB38
secondary
#8B86C8
accent
#4BDD55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B