#B1BD21#B1BD21
#B1BD21 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.4% C 0.164 H 114.4°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B1BD21 |
|---|---|
| RGB | rgb(177, 189, 33) |
| HSL | hsl(65, 70%, 44%) |
| HSV | hsv(65, 83%, 74%) |
| CMYK | cmyk(6.3%, 0%, 82.5%, 25.9%) |
| CIE-LAB | lab(73.45, -21.78, 69.22) |
| CIE-LCH | lch(73.45, 72.56, 107.47°) |
| OKLab | oklab(76.37% -0.0677 0.1495) |
| OKLCH | oklch(76.37% 0.164 114.4) |
| XYZ | xyz(36.6047, 45.8528, 8.3608) |
| Luminance | 0.4585 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.09
Bile
#B5C306
ΔE00 2.01
Baby Puke Green
#B6C406
ΔE00 2.25
Mustard Green
#A8B504
ΔE00 2.33
Pea
#A4BF20
ΔE00 3.20
Gross Green
#A0BF16
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1BD21 #2D21BD
analogous
#BD7B21 #B1BD21 #63BD21
triadic
#B1BD21 #21B1BD #BD21B1
tetradic
#B1BD21 #21BD7B #2D21BD #BD2163
square
#B1BD21 #21BD7B #2D21BD #BD2163
split-complementary
#B1BD21 #2163BD #7B21BD
monochromatic
#4F550F #808918 #B1BD21 #D1DD3E #DDE672
Accessibility & contrast
On white
2.06
#B1BD21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.17
#B1BD21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1BD21
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1BD21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1BD21 | 1.00 | 2.06 | 10.17 | 10.17 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CBB632
Tritanopia (blue-blind)
#BDB1A1
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b1bd21; /* rgb */ color: rgb(177, 189, 33); /* oklch */ color: oklch(76.4% 0.164 114.4);
Tailwind
colors: {
custom: {
50: '#ccd06d',
500: '#b1bd21',
950: '#000000',
},
}SCSS
$custom: #b1bd21; $custom-light: #ccd06d; $custom-dark: #000000;
JSON
{
"hex": "#b1bd21",
"rgb": {
"r": 177,
"g": 189,
"b": 33
},
"hsl": {
"h": 64.615,
"s": 70.27,
"l": 43.529
},
"oklch": {
"l": 0.76368,
"c": 0.16411,
"h": 114.4
},
"luminance": 0.45852
}Semantic roles & 50–950 ramp
primary
#B1BD21
secondary
#746DCD
accent
#3BED48
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B