#B4A72A#B4A72A
#B4A72A is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.138 H 103.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B4A72A |
|---|---|
| RGB | rgb(180, 167, 42) |
| HSL | hsl(54, 62%, 44%) |
| HSV | hsv(54, 77%, 71%) |
| CMYK | cmyk(0%, 7.2%, 76.7%, 29.4%) |
| CIE-LAB | lab(67.66, -8.96, 61.57) |
| CIE-LCH | lch(67.66, 62.22, 98.28°) |
| OKLab | oklab(71.81% -0.0315 0.1346) |
| OKLCH | oklch(71.81% 0.138 103.2) |
| XYZ | xyz(33.0605, 37.5093, 7.6886) |
| Luminance | 0.3751 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.40
Puke
#A5A502
ΔE00 3.94
Vomit
#A2A415
ΔE00 4.36
Olive Yellow
#C2B709
ΔE00 5.24
Brownish Yellow
#C9B003
ΔE00 5.27
Brown Yellow
#B29705
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4A72A #2A37B4
analogous
#B4622A #B4A72A #7CB42A
triadic
#B4A72A #2AB4A7 #A72AB4
tetradic
#B4A72A #2AB462 #2A37B4 #B42A7C
square
#B4A72A #2AB462 #2A37B4 #B42A7C
split-complementary
#B4A72A #2A7CB4 #622AB4
monochromatic
#514B13 #82791E #B4A72A #D4C747 #E0D679
Accessibility & contrast
On white
2.47
#B4A72A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#B4A72A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4A72A
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4A72A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4A72A | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A10D
Deuteranopia (green-blind)
#BBA733
Tritanopia (blue-blind)
#C29B8F
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b4a72a; /* rgb */ color: rgb(180, 167, 42); /* oklch */ color: oklch(71.8% 0.138 103.2);
Tailwind
colors: {
custom: {
50: '#cec06e',
500: '#b4a72a',
950: '#000000',
},
}SCSS
$custom: #b4a72a; $custom-light: #cec06e; $custom-dark: #000000;
JSON
{
"hex": "#b4a72a",
"rgb": {
"r": 180,
"g": 167,
"b": 42
},
"hsl": {
"h": 54.348,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.71813,
"c": 0.13824,
"h": 103.2
},
"luminance": 0.37508
}Semantic roles & 50–950 ramp
primary
#B4A72A
secondary
#727AC8
accent
#52E543
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B