#B4B72B#B4B72B
#B4B72B is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.3% C 0.153 H 110.8°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B72B |
|---|---|
| RGB | rgb(180, 183, 43) |
| HSL | hsl(61, 62%, 44%) |
| HSV | hsv(61, 77%, 72%) |
| CMYK | cmyk(1.6%, 0%, 76.5%, 28.2%) |
| CIE-LAB | lab(72.06, -17.15, 65.28) |
| CIE-LCH | lch(72.06, 67.50, 104.72°) |
| OKLab | oklab(75.32% -0.0543 0.1427) |
| OKLCH | oklch(75.32% 0.153 110.8) |
| XYZ | xyz(36.1932, 43.7457, 8.8222) |
| Luminance | 0.4375 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.74
Snot
#ACBB0D
ΔE00 2.93
Puke Yellow
#C2BE0E
ΔE00 3.68
Bile
#B5C306
ΔE00 4.03
Baby Puke Green
#B6C406
ΔE00 4.23
Olive Yellow
#C2B709
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B72B #2E2BB7
analogous
#B7742B #B4B72B #6EB72B
triadic
#B4B72B #2BB4B7 #B72BB4
tetradic
#B4B72B #2BB774 #2E2BB7 #B72B6E
square
#B4B72B #2BB774 #2E2BB7 #B72B6E
split-complementary
#B4B72B #2B6EB7 #742BB7
monochromatic
#535414 #83851F #B4B72B #D2D54B #DEE07C
Accessibility & contrast
On white
2.15
#B4B72B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#B4B72B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B72B
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B72B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B72B | 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)
#C6AF03
Deuteranopia (green-blind)
#C7B237
Tritanopia (blue-blind)
#C1AB9D
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b4b72b; /* rgb */ color: rgb(180, 183, 43); /* oklch */ color: oklch(75.3% 0.153 110.8);
Tailwind
colors: {
custom: {
50: '#cecc70',
500: '#b4b72b',
950: '#000000',
},
}SCSS
$custom: #b4b72b; $custom-light: #cecc70; $custom-dark: #000000;
JSON
{
"hex": "#b4b72b",
"rgb": {
"r": 180,
"g": 183,
"b": 43
},
"hsl": {
"h": 61.286,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.75324,
"c": 0.15268,
"h": 110.8
},
"luminance": 0.43745
}Semantic roles & 50–950 ramp
primary
#B4B72B
secondary
#7775C9
accent
#43E546
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B