#B4BD21#B4BD21
#B4BD21 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.6% C 0.163 H 113.2°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BD21 |
|---|---|
| RGB | rgb(180, 189, 33) |
| HSL | hsl(63, 70%, 44%) |
| HSV | hsv(63, 83%, 74%) |
| CMYK | cmyk(4.8%, 0%, 82.5%, 25.9%) |
| CIE-LAB | lab(73.68, -20.50, 69.50) |
| CIE-LCH | lch(73.68, 72.47, 106.44°) |
| OKLab | oklab(76.61% -0.0643 0.15) |
| OKLCH | oklch(76.61% 0.163 113.2) |
| XYZ | xyz(37.2958, 46.2092, 8.3932) |
| Luminance | 0.4621 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.57
Bile
#B5C306
ΔE00 2.01
Baby Puke Green
#B6C406
ΔE00 2.22
Mustard Green
#A8B504
ΔE00 2.57
Puke Yellow
#C2BE0E
ΔE00 3.57
Pea
#A4BF20
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BD21 #2A21BD
analogous
#BD7821 #B4BD21 #66BD21
triadic
#B4BD21 #21B4BD #BD21B4
tetradic
#B4BD21 #21BD78 #2A21BD #BD2166
square
#B4BD21 #21BD78 #2A21BD #BD2166
split-complementary
#B4BD21 #2166BD #7821BD
monochromatic
#51550F #828918 #B4BD21 #D4DD3E #E0E672
Accessibility & contrast
On white
2.05
#B4BD21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.24
#B4BD21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BD21
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BD21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BD21 | 1.00 | 2.05 | 10.24 | 10.24 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CCB731
Tritanopia (blue-blind)
#C1B1A1
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #b4bd21; /* rgb */ color: rgb(180, 189, 33); /* oklch */ color: oklch(76.6% 0.163 113.2);
Tailwind
colors: {
custom: {
50: '#cfd06d',
500: '#b4bd21',
950: '#000000',
},
}SCSS
$custom: #b4bd21; $custom-light: #cfd06d; $custom-dark: #000000;
JSON
{
"hex": "#b4bd21",
"rgb": {
"r": 180,
"g": 189,
"b": 33
},
"hsl": {
"h": 63.462,
"s": 70.27,
"l": 43.529
},
"oklch": {
"l": 0.7661,
"c": 0.1632,
"h": 113.2
},
"luminance": 0.46208
}Semantic roles & 50–950 ramp
primary
#B4BD21
secondary
#726DCD
accent
#3BED45
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B