#B4B72D#B4B72D
#B4B72D is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.3% C 0.152 H 110.8°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B72D |
|---|---|
| RGB | rgb(180, 183, 45) |
| HSL | hsl(61, 61%, 45%) |
| HSV | hsv(61, 75%, 72%) |
| CMYK | cmyk(1.6%, 0%, 75.4%, 28.2%) |
| CIE-LAB | lab(72.07, -17.07, 64.66) |
| CIE-LCH | lch(72.07, 66.87, 104.79°) |
| OKLab | oklab(75.34% -0.0539 0.1417) |
| OKLCH | oklch(75.34% 0.152 110.8) |
| XYZ | xyz(36.2308, 43.7607, 9.0203) |
| Luminance | 0.4376 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.81
Snot
#ACBB0D
ΔE00 2.99
Puke Yellow
#C2BE0E
ΔE00 3.78
Bile
#B5C306
ΔE00 4.10
Baby Puke Green
#B6C406
ΔE00 4.30
Olive Yellow
#C2B709
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B72D #302DB7
analogous
#B7752D #B4B72D #6FB72D
triadic
#B4B72D #2DB4B7 #B72DB4
tetradic
#B4B72D #2DB775 #302DB7 #B72D6F
square
#B4B72D #2DB775 #302DB7 #B72D6F
split-complementary
#B4B72D #2D6FB7 #752DB7
monochromatic
#535515 #848621 #B4B72D #D1D34E #DDDF7F
Accessibility & contrast
On white
2.15
#B4B72D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#B4B72D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B72D
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B72D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B72D | 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)
#C6AF0A
Deuteranopia (green-blind)
#C7B239
Tritanopia (blue-blind)
#C1AB9D
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b4b72d; /* rgb */ color: rgb(180, 183, 45); /* oklch */ color: oklch(75.3% 0.152 110.8);
Tailwind
colors: {
custom: {
50: '#cecc71',
500: '#b4b72d',
950: '#000000',
},
}SCSS
$custom: #b4b72d; $custom-light: #cecc71; $custom-dark: #000000;
JSON
{
"hex": "#b4b72d",
"rgb": {
"r": 180,
"g": 183,
"b": 45
},
"hsl": {
"h": 61.304,
"s": 60.526,
"l": 44.706
},
"oklch": {
"l": 0.75336,
"c": 0.15164,
"h": 110.8
},
"luminance": 0.4376
}Semantic roles & 50–950 ramp
primary
#B4B72D
secondary
#7978C8
accent
#44E448
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B