#B4AE37#B4AE37
#B4AE37 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.4% C 0.137 H 106.5°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AE37 |
|---|---|
| RGB | rgb(180, 174, 55) |
| HSL | hsl(57, 53%, 46%) |
| HSV | hsv(57, 69%, 71%) |
| CMYK | cmyk(0%, 3.3%, 69.4%, 29.4%) |
| CIE-LAB | lab(69.65, -11.99, 58.78) |
| CIE-LCH | lch(69.65, 60.00, 101.53°) |
| OKLab | oklab(73.42% -0.0387 0.1311) |
| OKLCH | oklch(73.42% 0.137 106.5) |
| XYZ | xyz(34.6494, 40.2524, 9.5580) |
| Luminance | 0.4025 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.11
Vomit
#A2A415
ΔE00 4.24
Olive Yellow
#C2B709
ΔE00 4.78
Muddy Yellow
#BFAC05
ΔE00 4.82
Mustard Green
#A8B504
ΔE00 5.29
Puke Yellow
#C2BE0E
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AE37 #373DB4
analogous
#B46F37 #B4AE37 #7BB437
triadic
#B4AE37 #37B4AE #AE37B4
tetradic
#B4AE37 #37B46F #373DB4 #B4377B
square
#B4AE37 #37B46F #373DB4 #B4377B
split-complementary
#B4AE37 #377BB4 #6F37B4
monochromatic
#56531A #858129 #B4AE37 #CDC85B #DBD78A
Accessibility & contrast
On white
2.32
#B4AE37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#B4AE37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AE37
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AE37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AE37 | 1.00 | 2.32 | 9.05 | 9.05 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA724
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#C1A396
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b4ae37; /* rgb */ color: rgb(180, 174, 55); /* oklch */ color: oklch(73.4% 0.137 106.5);
Tailwind
colors: {
custom: {
50: '#cec575',
500: '#b4ae37',
950: '#000000',
},
}SCSS
$custom: #b4ae37; $custom-light: #cec575; $custom-dark: #000000;
JSON
{
"hex": "#b4ae37",
"rgb": {
"r": 180,
"g": 174,
"b": 55
},
"hsl": {
"h": 57.12,
"s": 53.191,
"l": 46.078
},
"oklch": {
"l": 0.73423,
"c": 0.13671,
"h": 106.5
},
"luminance": 0.40251
}Semantic roles & 50–950 ramp
primary
#B4AE37
secondary
#8185C6
accent
#52DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B