#B2BD21#B2BD21
#B2BD21 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.4% C 0.164 H 114.0°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BD21 |
|---|---|
| RGB | rgb(178, 189, 33) |
| HSL | hsl(64, 70%, 44%) |
| HSV | hsv(64, 83%, 74%) |
| CMYK | cmyk(5.8%, 0%, 82.5%, 25.9%) |
| CIE-LAB | lab(73.53, -21.36, 69.31) |
| CIE-LCH | lch(73.53, 72.53, 107.13°) |
| OKLab | oklab(76.45% -0.0666 0.1497) |
| OKLCH | oklch(76.45% 0.164 114) |
| XYZ | xyz(36.8334, 45.9707, 8.3715) |
| Luminance | 0.4597 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.23
Bile
#B5C306
ΔE00 1.99
Baby Puke Green
#B6C406
ΔE00 2.21
Mustard Green
#A8B504
ΔE00 2.39
Pea
#A4BF20
ΔE00 3.43
Puke Yellow
#C2BE0E
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BD21 #2C21BD
analogous
#BD7A21 #B2BD21 #64BD21
triadic
#B2BD21 #21B2BD #BD21B2
tetradic
#B2BD21 #21BD7A #2C21BD #BD2164
square
#B2BD21 #21BD7A #2C21BD #BD2164
split-complementary
#B2BD21 #2164BD #7A21BD
monochromatic
#50550F #818918 #B2BD21 #D2DD3E #DEE672
Accessibility & contrast
On white
2.06
#B2BD21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.19
#B2BD21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BD21
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BD21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BD21 | 1.00 | 2.06 | 10.19 | 10.19 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CBB632
Tritanopia (blue-blind)
#BEB1A1
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #b2bd21; /* rgb */ color: rgb(178, 189, 33); /* oklch */ color: oklch(76.4% 0.164 114.0);
Tailwind
colors: {
custom: {
50: '#cdd06d',
500: '#b2bd21',
950: '#000000',
},
}SCSS
$custom: #b2bd21; $custom-light: #cdd06d; $custom-dark: #000000;
JSON
{
"hex": "#b2bd21",
"rgb": {
"r": 178,
"g": 189,
"b": 33
},
"hsl": {
"h": 64.231,
"s": 70.27,
"l": 43.529
},
"oklch": {
"l": 0.76448,
"c": 0.1638,
"h": 114
},
"luminance": 0.4597
}Semantic roles & 50–950 ramp
primary
#B2BD21
secondary
#736DCD
accent
#3BED47
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B