#B4A01E#B4A01E
#B4A01E is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.138 H 99.7°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B4A01E |
|---|---|
| RGB | rgb(180, 160, 30) |
| HSL | hsl(52, 71%, 41%) |
| HSV | hsv(52, 83%, 71%) |
| CMYK | cmyk(0%, 11.1%, 83.3%, 29.4%) |
| CIE-LAB | lab(65.70, -5.68, 63.49) |
| CIE-LCH | lch(65.70, 63.74, 95.11°) |
| OKLab | oklab(70.24% -0.0233 0.1364) |
| OKLCH | oklch(70.24% 0.138 99.7) |
| XYZ | xyz(31.6292, 34.9403, 6.3062) |
| Luminance | 0.3494 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.19
Muddy Yellow
#BFAC05
ΔE00 3.96
Ocher
#BF9B0C
ΔE00 4.64
Dark Gold
#B59410
ΔE00 4.88
Baby Poo
#AB9004
ΔE00 5.10
Yellow Brown
#B79400
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4A01E #1E32B4
analogous
#B4551E #B4A01E #7DB41E
triadic
#B4A01E #1EB4A0 #A01EB4
tetradic
#B4A01E #1EB455 #1E32B4 #B41E7D
square
#B4A01E #1EB455 #1E32B4 #B41E7D
split-complementary
#B4A01E #1E7DB4 #551EB4
monochromatic
#4B430D #807115 #B4A01E #DDC632 #E6D567
Accessibility & contrast
On white
2.63
#B4A01E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#B4A01E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4A01E
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4A01E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4A01E | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B6A329
Tritanopia (blue-blind)
#C39389
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b4a01e; /* rgb */ color: rgb(180, 160, 30); /* oklch */ color: oklch(70.2% 0.138 99.7);
Tailwind
colors: {
custom: {
50: '#cfbb68',
500: '#b4a01e',
950: '#000000',
},
}SCSS
$custom: #b4a01e; $custom-light: #cfbb68; $custom-dark: #000000;
JSON
{
"hex": "#b4a01e",
"rgb": {
"r": 180,
"g": 160,
"b": 30
},
"hsl": {
"h": 52,
"s": 71.429,
"l": 41.176
},
"oklch": {
"l": 0.70242,
"c": 0.13834,
"h": 99.7
},
"luminance": 0.34939
}Semantic roles & 50–950 ramp
primary
#B4A01E
secondary
#6371CB
accent
#52EE3A
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A