#B4B82F#B4B82F
#B4B82F is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.6% C 0.152 H 111.2°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B82F |
|---|---|
| RGB | rgb(180, 184, 47) |
| HSL | hsl(62, 59%, 45%) |
| HSV | hsv(62, 74%, 72%) |
| CMYK | cmyk(2.2%, 0%, 74.5%, 27.8%) |
| CIE-LAB | lab(72.36, -17.49, 64.27) |
| CIE-LCH | lch(72.36, 66.61, 105.22°) |
| OKLab | oklab(75.57% -0.0549 0.1413) |
| OKLCH | oklch(75.57% 0.152 111.2) |
| XYZ | xyz(36.4772, 44.1905, 9.2969) |
| Luminance | 0.4419 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.80
Snot
#ACBB0D
ΔE00 2.83
Puke Yellow
#C2BE0E
ΔE00 3.88
Bile
#B5C306
ΔE00 3.91
Baby Puke Green
#B6C406
ΔE00 4.10
Olive Yellow
#C2B709
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B82F #332FB8
analogous
#B8782F #B4B82F #6FB82F
triadic
#B4B82F #2FB4B8 #B82FB4
tetradic
#B4B82F #2FB878 #332FB8 #B82F6F
square
#B4B82F #2FB878 #332FB8 #B82F6F
split-complementary
#B4B82F #2F6FB8 #782FB8
monochromatic
#555716 #848723 #B4B82F #CFD352 #DCDF82
Accessibility & contrast
On white
2.13
#B4B82F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.84
#B4B82F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B82F
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B82F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B82F | 1.00 | 2.13 | 9.84 | 9.84 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B010
Deuteranopia (green-blind)
#C7B33A
Tritanopia (blue-blind)
#C1AC9E
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b4b82f; /* rgb */ color: rgb(180, 184, 47); /* oklch */ color: oklch(75.6% 0.152 111.2);
Tailwind
colors: {
custom: {
50: '#cecd72',
500: '#b4b82f',
950: '#000000',
},
}SCSS
$custom: #b4b82f; $custom-light: #cecd72; $custom-dark: #000000;
JSON
{
"hex": "#b4b82f",
"rgb": {
"r": 180,
"g": 184,
"b": 47
},
"hsl": {
"h": 61.752,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.75569,
"c": 0.15157,
"h": 111.2
},
"luminance": 0.4419
}Semantic roles & 50–950 ramp
primary
#B4B82F
secondary
#7D7BC8
accent
#45E24A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B