#B4B72E#B4B72E
#B4B72E is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.3% C 0.151 H 110.8°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B72E |
|---|---|
| RGB | rgb(180, 183, 46) |
| HSL | hsl(61, 60%, 45%) |
| HSV | hsv(61, 75%, 72%) |
| CMYK | cmyk(1.6%, 0%, 74.9%, 28.2%) |
| CIE-LAB | lab(72.07, -17.03, 64.33) |
| CIE-LCH | lch(72.07, 66.55, 104.82°) |
| OKLab | oklab(75.34% -0.0537 0.1412) |
| OKLCH | oklch(75.34% 0.151 110.8) |
| XYZ | xyz(36.2503, 43.7685, 9.1229) |
| Luminance | 0.4377 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.85
Snot
#ACBB0D
ΔE00 3.03
Puke Yellow
#C2BE0E
ΔE00 3.84
Bile
#B5C306
ΔE00 4.15
Baby Puke Green
#B6C406
ΔE00 4.34
Olive Yellow
#C2B709
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B72E #312EB7
analogous
#B7762E #B4B72E #6FB72E
triadic
#B4B72E #2EB4B7 #B72EB4
tetradic
#B4B72E #2EB776 #312EB7 #B72E6F
square
#B4B72E #2EB776 #312EB7 #B72E6F
split-complementary
#B4B72E #2E6FB7 #762EB7
monochromatic
#545515 #848622 #B4B72E #D0D34F #DDDF80
Accessibility & contrast
On white
2.15
#B4B72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#B4B72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B72E
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B72E | 1.00 | 2.15 | 9.75 | 9.75 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF0D
Deuteranopia (green-blind)
#C7B239
Tritanopia (blue-blind)
#C1AB9D
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b4b72e; /* rgb */ color: rgb(180, 183, 46); /* oklch */ color: oklch(75.3% 0.151 110.8);
Tailwind
colors: {
custom: {
50: '#cecc72',
500: '#b4b72e',
950: '#000000',
},
}SCSS
$custom: #b4b72e; $custom-light: #cecc72; $custom-dark: #000000;
JSON
{
"hex": "#b4b72e",
"rgb": {
"r": 180,
"g": 183,
"b": 46
},
"hsl": {
"h": 61.314,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.75341,
"c": 0.1511,
"h": 110.8
},
"luminance": 0.43768
}Semantic roles & 50–950 ramp
primary
#B4B72E
secondary
#7B79C8
accent
#45E348
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B