#B4C531#B4C531
#B4C531 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.5% C 0.164 H 116.1°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C531 |
|---|---|
| RGB | rgb(180, 197, 49) |
| HSL | hsl(67, 60%, 48%) |
| HSV | hsv(67, 75%, 77%) |
| CMYK | cmyk(8.6%, 0%, 75.1%, 22.7%) |
| CIE-LAB | lab(75.98, -23.84, 67.00) |
| CIE-LCH | lch(75.98, 71.12, 109.59°) |
| OKLab | oklab(78.48% -0.0723 0.1474) |
| OKLCH | oklch(78.48% 0.164 116.1) |
| XYZ | xyz(39.3441, 49.8581, 10.4561) |
| Luminance | 0.4986 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.35
Baby Puke Green
#B6C406
ΔE00 2.38
Pea
#A4BF20
ΔE00 2.87
Snot
#ACBB0D
ΔE00 3.00
Green Yellow
#B5CE08
ΔE00 3.17
Gross Green
#A0BF16
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C531 #4231C5
analogous
#C58C31 #B4C531 #6AC531
triadic
#B4C531 #31B4C5 #C531B4
tetradic
#B4C531 #31C58C #4231C5 #C5316A
square
#B4C531 #31C58C #4231C5 #C5316A
split-complementary
#B4C531 #316AC5 #8C31C5
monochromatic
#5A6319 #879425 #B4C531 #C9D75D #D9E38E
Accessibility & contrast
On white
1.91
#B4C531 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.97
#B4C531 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C531
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C531 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C531 | 1.00 | 1.91 | 10.97 | 10.97 |
| #FFFFFF | 1.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BB0C
Deuteranopia (green-blind)
#D2BC3E
Tritanopia (blue-blind)
#C0BAA9
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #b4c531; /* rgb */ color: rgb(180, 197, 49); /* oklch */ color: oklch(78.5% 0.164 116.1);
Tailwind
colors: {
custom: {
50: '#ced675',
500: '#b4c531',
950: '#000000',
},
}SCSS
$custom: #b4c531; $custom-light: #ced675; $custom-dark: #000000;
JSON
{
"hex": "#b4c531",
"rgb": {
"r": 180,
"g": 197,
"b": 49
},
"hsl": {
"h": 66.892,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.78479,
"c": 0.16421,
"h": 116.1
},
"luminance": 0.49858
}Semantic roles & 50–950 ramp
primary
#B4C531
secondary
#8D85CD
accent
#44E357
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B