#B4B52E#B4B52E
#B4B52E is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.9% C 0.149 H 109.9°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B52E |
|---|---|
| RGB | rgb(180, 181, 46) |
| HSL | hsl(60, 59%, 45%) |
| HSV | hsv(60, 75%, 71%) |
| CMYK | cmyk(0.6%, 0%, 74.6%, 29%) |
| CIE-LAB | lab(71.52, -16.02, 63.82) |
| CIE-LCH | lch(71.52, 65.80, 104.09°) |
| OKLab | oklab(74.9% -0.0509 0.1402) |
| OKLCH | oklch(74.9% 0.149 109.9) |
| XYZ | xyz(35.8407, 42.9494, 8.9863) |
| Luminance | 0.4295 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.14
Snot
#ACBB0D
ΔE00 3.57
Puke Yellow
#C2BE0E
ΔE00 3.97
Olive Yellow
#C2B709
ΔE00 4.18
Bile
#B5C306
ΔE00 4.74
Puke
#A5A502
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B52E #2F2EB5
analogous
#B5722E #B4B52E #71B52E
triadic
#B4B52E #2EB4B5 #B52EB4
tetradic
#B4B52E #2EB572 #2F2EB5 #B52E71
square
#B4B52E #2EB572 #2F2EB5 #B52E71
split-complementary
#B4B52E #2E71B5 #722EB5
monochromatic
#535315 #838422 #B4B52E #D1D24E #DEDE7F
Accessibility & contrast
On white
2.19
#B4B52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.59
#B4B52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B52E
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B52E | 1.00 | 2.19 | 9.59 | 9.59 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD0F
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#C1A99B
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b4b52e; /* rgb */ color: rgb(180, 181, 46); /* oklch */ color: oklch(74.9% 0.149 109.9);
Tailwind
colors: {
custom: {
50: '#ceca71',
500: '#b4b52e',
950: '#000000',
},
}SCSS
$custom: #b4b52e; $custom-light: #ceca71; $custom-dark: #000000;
JSON
{
"hex": "#b4b52e",
"rgb": {
"r": 180,
"g": 181,
"b": 46
},
"hsl": {
"h": 60.444,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.74899,
"c": 0.1491,
"h": 109.9
},
"luminance": 0.42948
}Semantic roles & 50–950 ramp
primary
#B4B52E
secondary
#7878C7
accent
#45E346
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B