#B2BD22#B2BD22
#B2BD22 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.5% C 0.163 H 114.0°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BD22 |
|---|---|
| RGB | rgb(178, 189, 34) |
| HSL | hsl(64, 70%, 44%) |
| HSV | hsv(64, 82%, 74%) |
| CMYK | cmyk(5.8%, 0%, 82%, 25.9%) |
| CIE-LAB | lab(73.53, -21.33, 69.07) |
| CIE-LCH | lch(73.53, 72.28, 107.16°) |
| OKLab | oklab(76.45% -0.0664 0.1493) |
| OKLCH | oklch(76.45% 0.163 114) |
| XYZ | xyz(36.8476, 45.9764, 8.4463) |
| Luminance | 0.4598 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.25
Bile
#B5C306
ΔE00 2.02
Baby Puke Green
#B6C406
ΔE00 2.25
Mustard Green
#A8B504
ΔE00 2.41
Pea
#A4BF20
ΔE00 3.41
Puke Yellow
#C2BE0E
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BD22 #2D22BD
analogous
#BD7A22 #B2BD22 #64BD22
triadic
#B2BD22 #22B2BD #BD22B2
tetradic
#B2BD22 #22BD7A #2D22BD #BD2264
square
#B2BD22 #22BD7A #2D22BD #BD2264
split-complementary
#B2BD22 #2264BD #7A22BD
monochromatic
#50550F #818919 #B2BD22 #D1DD40 #DEE673
Accessibility & contrast
On white
2.06
#B2BD22 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.20
#B2BD22 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BD22
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BD22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BD22 | 1.00 | 2.06 | 10.20 | 10.20 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.20 | 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: #b2bd22; /* rgb */ color: rgb(178, 189, 34); /* oklch */ color: oklch(76.5% 0.163 114.0);
Tailwind
colors: {
custom: {
50: '#cdd06d',
500: '#b2bd22',
950: '#000000',
},
}SCSS
$custom: #b2bd22; $custom-light: #cdd06d; $custom-dark: #000000;
JSON
{
"hex": "#b2bd22",
"rgb": {
"r": 178,
"g": 189,
"b": 34
},
"hsl": {
"h": 64.258,
"s": 69.507,
"l": 43.725
},
"oklch": {
"l": 0.76452,
"c": 0.16341,
"h": 114
},
"luminance": 0.45976
}Semantic roles & 50–950 ramp
primary
#B2BD22
secondary
#756ECD
accent
#3BEC48
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B