#B4A82A#B4A82A
#B4A82A is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.0% C 0.139 H 103.7°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B4A82A |
|---|---|
| RGB | rgb(180, 168, 42) |
| HSL | hsl(55, 62%, 44%) |
| HSV | hsv(55, 77%, 71%) |
| CMYK | cmyk(0%, 6.7%, 76.7%, 29.4%) |
| CIE-LAB | lab(67.93, -9.48, 61.82) |
| CIE-LCH | lch(67.93, 62.54, 98.72°) |
| OKLab | oklab(72.03% -0.0329 0.1352) |
| OKLCH | oklch(72.03% 0.139 103.7) |
| XYZ | xyz(33.2444, 37.8771, 7.7499) |
| Luminance | 0.3788 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.39
Puke
#A5A502
ΔE00 3.77
Vomit
#A2A415
ΔE00 4.21
Olive Yellow
#C2B709
ΔE00 4.99
Brownish Yellow
#C9B003
ΔE00 5.28
Brown Yellow
#B29705
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4A82A #2A36B4
analogous
#B4632A #B4A82A #7BB42A
triadic
#B4A82A #2AB4A8 #A82AB4
tetradic
#B4A82A #2AB463 #2A36B4 #B42A7B
square
#B4A82A #2AB463 #2A36B4 #B42A7B
split-complementary
#B4A82A #2A7BB4 #632AB4
monochromatic
#514B13 #827A1E #B4A82A #D4C847 #E0D779
Accessibility & contrast
On white
2.45
#B4A82A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.58
#B4A82A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4A82A
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4A82A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4A82A | 1.00 | 2.45 | 8.58 | 8.58 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A20C
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#C29C90
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b4a82a; /* rgb */ color: rgb(180, 168, 42); /* oklch */ color: oklch(72.0% 0.139 103.7);
Tailwind
colors: {
custom: {
50: '#cec16e',
500: '#b4a82a',
950: '#000000',
},
}SCSS
$custom: #b4a82a; $custom-light: #cec16e; $custom-dark: #000000;
JSON
{
"hex": "#b4a82a",
"rgb": {
"r": 180,
"g": 168,
"b": 42
},
"hsl": {
"h": 54.783,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.7203,
"c": 0.13911,
"h": 103.7
},
"luminance": 0.37876
}Semantic roles & 50–950 ramp
primary
#B4A82A
secondary
#727AC8
accent
#51E543
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B