#B4B62E#B4B62E
#B4B62E is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.1% C 0.150 H 110.4°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B62E |
|---|---|
| RGB | rgb(180, 182, 46) |
| HSL | hsl(61, 60%, 45%) |
| HSV | hsv(61, 75%, 71%) |
| CMYK | cmyk(1.1%, 0%, 74.7%, 28.6%) |
| CIE-LAB | lab(71.80, -16.52, 64.08) |
| CIE-LCH | lch(71.80, 66.17, 104.46°) |
| OKLab | oklab(75.12% -0.0523 0.1407) |
| OKLCH | oklch(75.12% 0.15 110.4) |
| XYZ | xyz(36.0448, 43.3575, 9.0543) |
| Luminance | 0.4336 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.98
Snot
#ACBB0D
ΔE00 3.29
Puke Yellow
#C2BE0E
ΔE00 3.89
Olive Yellow
#C2B709
ΔE00 4.29
Bile
#B5C306
ΔE00 4.44
Baby Puke Green
#B6C406
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B62E #302EB6
analogous
#B6742E #B4B62E #70B62E
triadic
#B4B62E #2EB4B6 #B62EB4
tetradic
#B4B62E #2EB674 #302EB6 #B62E70
square
#B4B62E #2EB674 #302EB6 #B62E70
split-complementary
#B4B62E #2E70B6 #742EB6
monochromatic
#535415 #848522 #B4B62E #D1D24F #DDDF80
Accessibility & contrast
On white
2.17
#B4B62E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#B4B62E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B62E
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B62E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B62E | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE0E
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#C1AA9C
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b4b62e; /* rgb */ color: rgb(180, 182, 46); /* oklch */ color: oklch(75.1% 0.150 110.4);
Tailwind
colors: {
custom: {
50: '#cecb72',
500: '#b4b62e',
950: '#000000',
},
}SCSS
$custom: #b4b62e; $custom-light: #cecb72; $custom-dark: #000000;
JSON
{
"hex": "#b4b62e",
"rgb": {
"r": 180,
"g": 182,
"b": 46
},
"hsl": {
"h": 60.882,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.7512,
"c": 0.15009,
"h": 110.4
},
"luminance": 0.43356
}Semantic roles & 50–950 ramp
primary
#B4B62E
secondary
#7978C8
accent
#45E347
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B