#B4AE30#B4AE30
#B4AE30 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.4% C 0.141 H 106.6°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AE30 |
|---|---|
| RGB | rgb(180, 174, 48) |
| HSL | hsl(57, 58%, 45%) |
| HSV | hsv(57, 73%, 71%) |
| CMYK | cmyk(0%, 3.3%, 73.3%, 29.4%) |
| CIE-LAB | lab(69.60, -12.34, 61.33) |
| CIE-LCH | lch(69.60, 62.56, 101.38°) |
| OKLab | oklab(73.37% -0.0404 0.1352) |
| OKLCH | oklch(73.37% 0.141 106.6) |
| XYZ | xyz(34.4933, 40.1900, 8.7362) |
| Luminance | 0.4019 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.73
Vomit
#A2A415
ΔE00 4.03
Olive Yellow
#C2B709
ΔE00 4.28
Muddy Yellow
#BFAC05
ΔE00 4.37
Mustard Green
#A8B504
ΔE00 4.97
Puke Yellow
#C2BE0E
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AE30 #3036B4
analogous
#B46C30 #B4AE30 #78B430
triadic
#B4AE30 #30B4AE #AE30B4
tetradic
#B4AE30 #30B46C #3036B4 #B43078
square
#B4AE30 #30B46C #3036B4 #B43078
split-complementary
#B4AE30 #3078B4 #6C30B4
monochromatic
#535116 #847F23 #B4AE30 #D1CB51 #DDD981
Accessibility & contrast
On white
2.32
#B4AE30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#B4AE30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AE30
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AE30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AE30 | 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)
#BDA718
Deuteranopia (green-blind)
#C0AC39
Tritanopia (blue-blind)
#C1A296
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b4ae30; /* rgb */ color: rgb(180, 174, 48); /* oklch */ color: oklch(73.4% 0.141 106.6);
Tailwind
colors: {
custom: {
50: '#cec572',
500: '#b4ae30',
950: '#000000',
},
}SCSS
$custom: #b4ae30; $custom-light: #cec572; $custom-dark: #000000;
JSON
{
"hex": "#b4ae30",
"rgb": {
"r": 180,
"g": 174,
"b": 48
},
"hsl": {
"h": 57.273,
"s": 57.895,
"l": 44.706
},
"oklch": {
"l": 0.73374,
"c": 0.14115,
"h": 106.6
},
"luminance": 0.40189
}Semantic roles & 50–950 ramp
primary
#B4AE30
secondary
#797DC6
accent
#4EE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B