#B2BB52#B2BB52
#B2BB52 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 | #B2BB52 |
|---|---|
| RGB | rgb(178, 187, 82) |
| HSL | hsl(65, 44%, 53%) |
| HSV | hsv(65, 56%, 73%) |
| CMYK | cmyk(4.8%, 0%, 56.1%, 26.7%) |
| CIE-LAB | lab(73.30, -17.67, 51.12) |
| CIE-LCH | lch(73.30, 54.09, 109.07°) |
| OKLab | oklab(76.37% -0.0518 0.1188) |
| OKLCH | oklch(76.37% 0.13 113.5) |
| XYZ | xyz(37.6542, 45.6155, 14.8021) |
| Luminance | 0.4561 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive
#ACBF69
ΔE00 4.40
Light Olive Green
#A4BE5C
ΔE00 4.46
Booger
#9BB53C
ΔE00 4.67
Sick Green
#9DB92C
ΔE00 5.14
Darkkhaki
#BDB76B
ΔE00 5.55
Pea
#A4BF20
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BB52 #5B52BB
analogous
#BB8F52 #B2BB52 #7DBB52
triadic
#B2BB52 #52B2BB #BB52B2
tetradic
#B2BB52 #52BB8F #5B52BB #BB527D
square
#B2BB52 #52BB8F #5B52BB #BB527D
split-complementary
#B2BB52 #527DBB #8F52BB
monochromatic
#646929 #8D953B #B2BB52 #C6CC7E #D9DEAA
Accessibility & contrast
On white
2.07
#B2BB52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.12
#B2BB52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BB52
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BB52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BB52 | 1.00 | 2.07 | 10.12 | 10.12 |
| #FFFFFF | 2.07 | 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)
#C7B347
Deuteranopia (green-blind)
#C7B558
Tritanopia (blue-blind)
#BCB1A4
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b2bb52; /* rgb */ color: rgb(178, 187, 82); /* oklch */ color: oklch(76.4% 0.130 113.5);
Tailwind
colors: {
custom: {
50: '#cbcf86',
500: '#b2bb52',
950: '#000000',
},
}SCSS
$custom: #b2bb52; $custom-light: #cbcf86; $custom-dark: #000000;
JSON
{
"hex": "#b2bb52",
"rgb": {
"r": 178,
"g": 187,
"b": 82
},
"hsl": {
"h": 65.143,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.76367,
"c": 0.12959,
"h": 113.5
},
"luminance": 0.45615
}Semantic roles & 50–950 ramp
primary
#B2BB52
secondary
#A29ECB
accent
#54D35F
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130B
muted
#82827C