#B4B931#B4B931
#B4B931 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.8% C 0.151 H 111.6°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B931 |
|---|---|
| RGB | rgb(180, 185, 49) |
| HSL | hsl(62, 58%, 46%) |
| HSV | hsv(62, 74%, 73%) |
| CMYK | cmyk(2.7%, 0%, 73.5%, 27.5%) |
| CIE-LAB | lab(72.64, -17.90, 63.87) |
| CIE-LCH | lch(72.64, 66.33, 105.66°) |
| OKLab | oklab(75.8% -0.0559 0.1408) |
| OKLCH | oklch(75.8% 0.151 111.6) |
| XYZ | xyz(36.7270, 44.6239, 9.5837) |
| Luminance | 0.4462 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.71
Mustard Green
#A8B504
ΔE00 2.84
Bile
#B5C306
ΔE00 3.74
Baby Puke Green
#B6C406
ΔE00 3.93
Puke Yellow
#C2BE0E
ΔE00 4.00
Pea
#A4BF20
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B931 #3631B9
analogous
#B97A31 #B4B931 #70B931
triadic
#B4B931 #31B4B9 #B931B4
tetradic
#B4B931 #31B97A #3631B9 #B93170
square
#B4B931 #31B97A #3631B9 #B93170
split-complementary
#B4B931 #3170B9 #7A31B9
monochromatic
#565817 #858924 #B4B931 #CDD255 #DCDF86
Accessibility & contrast
On white
2.12
#B4B931 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.92
#B4B931 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B931
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B931 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B931 | 1.00 | 2.12 | 9.92 | 9.92 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B014
Deuteranopia (green-blind)
#C8B43C
Tritanopia (blue-blind)
#C1AD9F
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b4b931; /* rgb */ color: rgb(180, 185, 49); /* oklch */ color: oklch(75.8% 0.151 111.6);
Tailwind
colors: {
custom: {
50: '#cecd73',
500: '#b4b931',
950: '#000000',
},
}SCSS
$custom: #b4b931; $custom-light: #cecd73; $custom-dark: #000000;
JSON
{
"hex": "#b4b931",
"rgb": {
"r": 180,
"g": 185,
"b": 49
},
"hsl": {
"h": 62.206,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.75803,
"c": 0.15147,
"h": 111.6
},
"luminance": 0.44623
}Semantic roles & 50–950 ramp
primary
#B4B931
secondary
#807DC8
accent
#46E14C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B