#B4BD31#B4BD31
#B4BD31 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.7% C 0.156 H 113.2°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BD31 |
|---|---|
| RGB | rgb(180, 189, 49) |
| HSL | hsl(64, 59%, 47%) |
| HSV | hsv(64, 74%, 74%) |
| CMYK | cmyk(4.8%, 0%, 74.1%, 25.9%) |
| CIE-LAB | lab(73.75, -19.90, 64.92) |
| CIE-LCH | lch(73.75, 67.90, 107.05°) |
| OKLab | oklab(76.69% -0.0614 0.143) |
| OKLCH | oklch(76.69% 0.156 113.2) |
| XYZ | xyz(37.5755, 46.3211, 9.8666) |
| Luminance | 0.4632 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.17
Bile
#B5C306
ΔE00 2.82
Mustard Green
#A8B504
ΔE00 2.99
Baby Puke Green
#B6C406
ΔE00 3.00
Pea
#A4BF20
ΔE00 3.75
Puke Yellow
#C2BE0E
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BD31 #3A31BD
analogous
#BD8031 #B4BD31 #6EBD31
triadic
#B4BD31 #31B4BD #BD31B4
tetradic
#B4BD31 #31BD80 #3A31BD #BD316E
square
#B4BD31 #31BD80 #3A31BD #BD316E
split-complementary
#B4BD31 #316EBD #8031BD
monochromatic
#575C18 #868C24 #B4BD31 #CCD458 #DBE088
Accessibility & contrast
On white
2.05
#B4BD31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.26
#B4BD31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BD31
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BD31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BD31 | 1.00 | 2.05 | 10.26 | 10.26 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB412
Deuteranopia (green-blind)
#CBB73D
Tritanopia (blue-blind)
#C0B1A2
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #b4bd31; /* rgb */ color: rgb(180, 189, 49); /* oklch */ color: oklch(76.7% 0.156 113.2);
Tailwind
colors: {
custom: {
50: '#ced074',
500: '#b4bd31',
950: '#000000',
},
}SCSS
$custom: #b4bd31; $custom-light: #ced074; $custom-dark: #000000;
JSON
{
"hex": "#b4bd31",
"rgb": {
"r": 180,
"g": 189,
"b": 49
},
"hsl": {
"h": 63.857,
"s": 58.824,
"l": 46.667
},
"oklch": {
"l": 0.76691,
"c": 0.15564,
"h": 113.2
},
"luminance": 0.4632
}Semantic roles & 50–950 ramp
primary
#B4BD31
secondary
#8580CA
accent
#46E250
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B