#B4B03E#B4B03E
#B4B03E is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.9% C 0.134 H 107.3°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B03E |
|---|---|
| RGB | rgb(180, 176, 62) |
| HSL | hsl(58, 49%, 47%) |
| HSV | hsv(58, 66%, 71%) |
| CMYK | cmyk(0%, 2.2%, 65.6%, 29.4%) |
| CIE-LAB | lab(70.25, -12.63, 56.60) |
| CIE-LCH | lch(70.25, 57.99, 102.58°) |
| OKLab | oklab(73.92% -0.0398 0.1277) |
| OKLCH | oklch(73.92% 0.134 107.3) |
| XYZ | xyz(35.2185, 41.1029, 10.6350) |
| Luminance | 0.4110 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.69
Puke
#A5A502
ΔE00 4.72
Mustard Green
#A8B504
ΔE00 5.19
Olive Yellow
#C2B709
ΔE00 5.25
Muddy Yellow
#BFAC05
ΔE00 5.66
Puke Yellow
#C2BE0E
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B03E #3E42B4
analogous
#B4753E #B4B03E #7DB43E
triadic
#B4B03E #3EB4B0 #B03EB4
tetradic
#B4B03E #3EB475 #3E42B4 #B43E7D
square
#B4B03E #3EB475 #3E42B4 #B43E7D
split-complementary
#B4B03E #3E7DB4 #753EB4
monochromatic
#59571F #86832E #B4B03E #CAC765 #DAD793
Accessibility & contrast
On white
2.28
#B4B03E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.22
#B4B03E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B03E
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B03E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B03E | 1.00 | 2.28 | 9.22 | 9.22 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA92F
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#C1A599
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b4b03e; /* rgb */ color: rgb(180, 176, 62); /* oklch */ color: oklch(73.9% 0.134 107.3);
Tailwind
colors: {
custom: {
50: '#cdc779',
500: '#b4b03e',
950: '#000000',
},
}SCSS
$custom: #b4b03e; $custom-light: #cdc779; $custom-dark: #000000;
JSON
{
"hex": "#b4b03e",
"rgb": {
"r": 180,
"g": 176,
"b": 62
},
"hsl": {
"h": 57.966,
"s": 48.76,
"l": 47.451
},
"oklch": {
"l": 0.73917,
"c": 0.13372,
"h": 107.3
},
"luminance": 0.41102
}Semantic roles & 50–950 ramp
primary
#B4B03E
secondary
#898BC5
accent
#54D84F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B