#B4B936#B4B936
#B4B936 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.8% C 0.148 H 111.6°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B936 |
|---|---|
| RGB | rgb(180, 185, 54) |
| HSL | hsl(62, 55%, 47%) |
| HSV | hsv(62, 71%, 73%) |
| CMYK | cmyk(2.7%, 0%, 70.8%, 27.5%) |
| CIE-LAB | lab(72.67, -17.66, 62.14) |
| CIE-LCH | lch(72.67, 64.60, 105.87°) |
| OKLab | oklab(75.84% -0.0547 0.138) |
| OKLCH | oklch(75.84% 0.148 111.6) |
| XYZ | xyz(36.8384, 44.6685, 10.1706) |
| Luminance | 0.4467 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.01
Mustard Green
#A8B504
ΔE00 3.13
Bile
#B5C306
ΔE00 4.04
Baby Puke Green
#B6C406
ΔE00 4.23
Puke Yellow
#C2BE0E
ΔE00 4.34
Pea
#A4BF20
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B936 #3B36B9
analogous
#B97D36 #B4B936 #73B936
triadic
#B4B936 #36B4B9 #B936B4
tetradic
#B4B936 #36B97D #3B36B9 #B93673
square
#B4B936 #36B97D #3B36B9 #B93673
split-complementary
#B4B936 #3673B9 #7D36B9
monochromatic
#585A1A #868A28 #B4B936 #CBD05D #DADD8C
Accessibility & contrast
On white
2.11
#B4B936 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.93
#B4B936 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B936
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B936 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B936 | 1.00 | 2.11 | 9.93 | 9.93 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B11F
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#C0AE9F
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b4b936; /* rgb */ color: rgb(180, 185, 54); /* oklch */ color: oklch(75.8% 0.148 111.6);
Tailwind
colors: {
custom: {
50: '#cecd76',
500: '#b4b936',
950: '#000000',
},
}SCSS
$custom: #b4b936; $custom-light: #cecd76; $custom-dark: #000000;
JSON
{
"hex": "#b4b936",
"rgb": {
"r": 180,
"g": 185,
"b": 54
},
"hsl": {
"h": 62.29,
"s": 54.812,
"l": 46.863
},
"oklch": {
"l": 0.75836,
"c": 0.14847,
"h": 111.6
},
"luminance": 0.44668
}Semantic roles & 50–950 ramp
primary
#B4B936
secondary
#8683C8
accent
#4ADE4F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B