#B4AE34#B4AE34
#B4AE34 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.4% C 0.139 H 106.5°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AE34 |
|---|---|
| RGB | rgb(180, 174, 52) |
| HSL | hsl(57, 55%, 45%) |
| HSV | hsv(57, 71%, 71%) |
| CMYK | cmyk(0%, 3.3%, 71.1%, 29.4%) |
| CIE-LAB | lab(69.63, -12.15, 59.90) |
| CIE-LCH | lch(69.63, 61.12, 101.47°) |
| OKLab | oklab(73.4% -0.0395 0.1329) |
| OKLCH | oklch(73.4% 0.139 106.5) |
| XYZ | xyz(34.5796, 40.2246, 9.1908) |
| Luminance | 0.4022 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.93
Vomit
#A2A415
ΔE00 4.13
Olive Yellow
#C2B709
ΔE00 4.56
Muddy Yellow
#BFAC05
ΔE00 4.61
Mustard Green
#A8B504
ΔE00 5.14
Puke Yellow
#C2BE0E
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AE34 #343AB4
analogous
#B46E34 #B4AE34 #7AB434
triadic
#B4AE34 #34B4AE #AE34B4
tetradic
#B4AE34 #34B46E #343AB4 #B4347A
square
#B4AE34 #34B46E #343AB4 #B4347A
split-complementary
#B4AE34 #347AB4 #6E34B4
monochromatic
#555219 #858026 #B4AE34 #CEC957 #DCD886
Accessibility & contrast
On white
2.32
#B4AE34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#B4AE34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AE34
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AE34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AE34 | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA71F
Deuteranopia (green-blind)
#C0AC3D
Tritanopia (blue-blind)
#C1A296
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b4ae34; /* rgb */ color: rgb(180, 174, 52); /* oklch */ color: oklch(73.4% 0.139 106.5);
Tailwind
colors: {
custom: {
50: '#cec574',
500: '#b4ae34',
950: '#000000',
},
}SCSS
$custom: #b4ae34; $custom-light: #cec574; $custom-dark: #000000;
JSON
{
"hex": "#b4ae34",
"rgb": {
"r": 180,
"g": 174,
"b": 52
},
"hsl": {
"h": 57.188,
"s": 55.172,
"l": 45.49
},
"oklch": {
"l": 0.73401,
"c": 0.13868,
"h": 106.5
},
"luminance": 0.40223
}Semantic roles & 50–950 ramp
primary
#B4AE34
secondary
#7E81C6
accent
#50DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B