#B4A52E#B4A52E
#B4A52E is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.4% C 0.134 H 101.9°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B4A52E |
|---|---|
| RGB | rgb(180, 165, 46) |
| HSL | hsl(53, 59%, 44%) |
| HSV | hsv(53, 74%, 71%) |
| CMYK | cmyk(0%, 8.3%, 74.4%, 29.4%) |
| CIE-LAB | lab(67.14, -7.73, 59.70) |
| CIE-LCH | lch(67.14, 60.20, 97.38°) |
| OKLab | oklab(71.41% -0.0276 0.1314) |
| OKLCH | oklch(71.41% 0.134 101.9) |
| XYZ | xyz(32.7722, 36.8123, 7.9635) |
| Luminance | 0.3681 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.81
Puke
#A5A502
ΔE00 4.53
Vomit
#A2A415
ΔE00 4.85
Brown Yellow
#B29705
ΔE00 5.24
Brownish Yellow
#C9B003
ΔE00 5.54
Olive Yellow
#C2B709
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4A52E #2E3DB4
analogous
#B4622E #B4A52E #80B42E
triadic
#B4A52E #2EB4A5 #A52EB4
tetradic
#B4A52E #2EB462 #2E3DB4 #B42E80
square
#B4A52E #2EB462 #2E3DB4 #B42E80
split-complementary
#B4A52E #2E80B4 #622EB4
monochromatic
#534C15 #837822 #B4A52E #D2C34E #DED37E
Accessibility & contrast
On white
2.51
#B4A52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.36
#B4A52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4A52E
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4A52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4A52E | 1.00 | 2.51 | 8.36 | 8.36 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A018
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#C2998E
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b4a52e; /* rgb */ color: rgb(180, 165, 46); /* oklch */ color: oklch(71.4% 0.134 101.9);
Tailwind
colors: {
custom: {
50: '#cebf70',
500: '#b4a52e',
950: '#000000',
},
}SCSS
$custom: #b4a52e; $custom-light: #cebf70; $custom-dark: #000000;
JSON
{
"hex": "#b4a52e",
"rgb": {
"r": 180,
"g": 165,
"b": 46
},
"hsl": {
"h": 53.284,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.71405,
"c": 0.13428,
"h": 101.9
},
"luminance": 0.36811
}Semantic roles & 50–950 ramp
primary
#B4A52E
secondary
#7780C7
accent
#57E245
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B