#B2BB51#B2BB51
#B2BB51 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.4% C 0.130 H 113.5°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BB51 |
|---|---|
| RGB | rgb(178, 187, 81) |
| HSL | hsl(65, 44%, 53%) |
| HSV | hsv(65, 57%, 73%) |
| CMYK | cmyk(4.8%, 0%, 56.7%, 26.7%) |
| CIE-LAB | lab(73.29, -17.75, 51.57) |
| CIE-LCH | lch(73.29, 54.54, 109.00°) |
| OKLab | oklab(76.36% -0.0521 0.1196) |
| OKLCH | oklch(76.36% 0.13 113.5) |
| XYZ | xyz(37.6164, 45.6004, 14.6032) |
| Luminance | 0.4560 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive
#ACBF69
ΔE00 4.51
Light Olive Green
#A4BE5C
ΔE00 4.53
Booger
#9BB53C
ΔE00 4.64
Sick Green
#9DB92C
ΔE00 5.06
Pea
#A4BF20
ΔE00 5.45
Snot
#ACBB0D
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BB51 #5A51BB
analogous
#BB8F51 #B2BB51 #7DBB51
triadic
#B2BB51 #51B2BB #BB51B2
tetradic
#B2BB51 #51BB8F #5A51BB #BB517D
square
#B2BB51 #51BB8F #5A51BB #BB517D
split-complementary
#B2BB51 #517DBB #8F51BB
monochromatic
#636929 #8D953A #B2BB51 #C5CC7D #D9DDA9
Accessibility & contrast
On white
2.08
#B2BB51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.12
#B2BB51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BB51
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BB51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BB51 | 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)
#C7B346
Deuteranopia (green-blind)
#C7B557
Tritanopia (blue-blind)
#BDB1A4
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b2bb51; /* rgb */ color: rgb(178, 187, 81); /* oklch */ color: oklch(76.4% 0.130 113.5);
Tailwind
colors: {
custom: {
50: '#cbcf86',
500: '#b2bb51',
950: '#000000',
},
}SCSS
$custom: #b2bb51; $custom-light: #cbcf86; $custom-dark: #000000;
JSON
{
"hex": "#b2bb51",
"rgb": {
"r": 178,
"g": 187,
"b": 81
},
"hsl": {
"h": 65.094,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.76356,
"c": 0.13049,
"h": 113.5
},
"luminance": 0.456
}Semantic roles & 50–950 ramp
primary
#B2BB51
secondary
#A19DCB
accent
#54D45F
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130B
muted
#82827C