#B4A01B#B4A01B
#B4A01B is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.140 H 99.8°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B4A01B |
|---|---|
| RGB | rgb(180, 160, 27) |
| HSL | hsl(52, 74%, 41%) |
| HSV | hsv(52, 85%, 71%) |
| CMYK | cmyk(0%, 11.1%, 85%, 29.4%) |
| CIE-LAB | lab(65.69, -5.76, 64.26) |
| CIE-LCH | lch(65.69, 64.52, 95.12°) |
| OKLab | oklab(70.23% -0.0237 0.1375) |
| OKLCH | oklch(70.23% 0.14 99.8) |
| XYZ | xyz(31.5927, 34.9257, 6.1140) |
| Luminance | 0.3492 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.17
Muddy Yellow
#BFAC05
ΔE00 3.87
Ocher
#BF9B0C
ΔE00 4.63
Dark Gold
#B59410
ΔE00 4.89
Baby Poo
#AB9004
ΔE00 5.10
Yellow Brown
#B79400
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4A01B #1B2FB4
analogous
#B4531B #B4A01B #7BB41B
triadic
#B4A01B #1BB4A0 #A01BB4
tetradic
#B4A01B #1BB453 #1B2FB4 #B41B7B
square
#B4A01B #1BB453 #1B2FB4 #B41B7B
split-complementary
#B4A01B #1B7BB4 #531BB4
monochromatic
#4A410B #7F7113 #B4A01B #DFC82D #E7D662
Accessibility & contrast
On white
2.63
#B4A01B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#B4A01B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4A01B
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4A01B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4A01B | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19B00
Deuteranopia (green-blind)
#B6A327
Tritanopia (blue-blind)
#C39389
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b4a01b; /* rgb */ color: rgb(180, 160, 27); /* oklch */ color: oklch(70.2% 0.140 99.8);
Tailwind
colors: {
custom: {
50: '#cfbb67',
500: '#b4a01b',
950: '#000000',
},
}SCSS
$custom: #b4a01b; $custom-light: #cfbb67; $custom-dark: #000000;
JSON
{
"hex": "#b4a01b",
"rgb": {
"r": 180,
"g": 160,
"b": 27
},
"hsl": {
"h": 52.157,
"s": 73.913,
"l": 40.588
},
"oklch": {
"l": 0.70229,
"c": 0.13952,
"h": 99.8
},
"luminance": 0.34924
}Semantic roles & 50–950 ramp
primary
#B4A01B
secondary
#5F6DCC
accent
#4FF137
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A