#B4A53A#B4A53A
#B4A53A is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.5% C 0.126 H 101.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B4A53A |
|---|---|
| RGB | rgb(180, 165, 58) |
| HSL | hsl(53, 51%, 47%) |
| HSV | hsv(53, 68%, 71%) |
| CMYK | cmyk(0%, 8.3%, 67.8%, 29.4%) |
| CIE-LAB | lab(67.22, -7.12, 55.12) |
| CIE-LCH | lch(67.22, 55.58, 97.36°) |
| OKLab | oklab(71.5% -0.0246 0.1239) |
| OKLCH | oklch(71.5% 0.126 101.2) |
| XYZ | xyz(33.0427, 36.9205, 9.3880) |
| Luminance | 0.3692 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.84
Puke
#A5A502
ΔE00 5.29
Vomit
#A2A415
ΔE00 5.36
Brown Yellow
#B29705
ΔE00 5.72
Brownish Yellow
#C9B003
ΔE00 6.34
Olive Yellow
#C2B709
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4A53A #3A49B4
analogous
#B4683A #B4A53A #86B43A
triadic
#B4A53A #3AB4A5 #A53AB4
tetradic
#B4A53A #3AB468 #3A49B4 #B43A86
square
#B4A53A #3AB468 #3A49B4 #B43A86
split-complementary
#B4A53A #3A86B4 #683AB4
monochromatic
#57501C #867B2B #B4A53A #CCBE60 #DBD18E
Accessibility & contrast
On white
2.50
#B4A53A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.38
#B4A53A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4A53A
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4A53A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4A53A | 1.00 | 2.50 | 8.38 | 8.38 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A02B
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#C2998F
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b4a53a; /* rgb */ color: rgb(180, 165, 58); /* oklch */ color: oklch(71.5% 0.126 101.2);
Tailwind
colors: {
custom: {
50: '#cebf76',
500: '#b4a53a',
950: '#000000',
},
}SCSS
$custom: #b4a53a; $custom-light: #cebf76; $custom-dark: #000000;
JSON
{
"hex": "#b4a53a",
"rgb": {
"r": 180,
"g": 165,
"b": 58
},
"hsl": {
"h": 52.623,
"s": 51.261,
"l": 46.667
},
"oklch": {
"l": 0.71496,
"c": 0.12631,
"h": 101.2
},
"luminance": 0.36919
}Semantic roles & 50–950 ramp
primary
#B4A53A
secondary
#858DC5
accent
#5EDB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B