#B4AE28#B4AE28
#B4AE28 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.3% C 0.146 H 106.8°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AE28 |
|---|---|
| RGB | rgb(180, 174, 40) |
| HSL | hsl(57, 64%, 43%) |
| HSV | hsv(57, 78%, 71%) |
| CMYK | cmyk(0%, 3.3%, 77.8%, 29.4%) |
| CIE-LAB | lab(69.56, -12.68, 63.95) |
| CIE-LCH | lch(69.56, 65.19, 101.21°) |
| OKLab | oklab(73.33% -0.0421 0.1393) |
| OKLCH | oklch(73.33% 0.146 106.8) |
| XYZ | xyz(34.3429, 40.1299, 7.9439) |
| Luminance | 0.4013 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.47
Olive Yellow
#C2B709
ΔE00 3.83
Vomit
#A2A415
ΔE00 3.94
Muddy Yellow
#BFAC05
ΔE00 3.99
Mustard Green
#A8B504
ΔE00 4.74
Puke Yellow
#C2BE0E
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AE28 #282EB4
analogous
#B46828 #B4AE28 #74B428
triadic
#B4AE28 #28B4AE #AE28B4
tetradic
#B4AE28 #28B468 #282EB4 #B42874
square
#B4AE28 #28B468 #282EB4 #B42874
split-complementary
#B4AE28 #2874B4 #6828B4
monochromatic
#504D12 #827E1D #B4AE28 #D5CF44 #E1DC76
Accessibility & contrast
On white
2.33
#B4AE28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#B4AE28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AE28
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AE28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AE28 | 1.00 | 2.33 | 9.03 | 9.03 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA701
Deuteranopia (green-blind)
#C0AC33
Tritanopia (blue-blind)
#C2A295
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b4ae28; /* rgb */ color: rgb(180, 174, 40); /* oklch */ color: oklch(73.3% 0.146 106.8);
Tailwind
colors: {
custom: {
50: '#cec56e',
500: '#b4ae28',
950: '#000000',
},
}SCSS
$custom: #b4ae28; $custom-light: #cec56e; $custom-dark: #000000;
JSON
{
"hex": "#b4ae28",
"rgb": {
"r": 180,
"g": 174,
"b": 40
},
"hsl": {
"h": 57.429,
"s": 63.636,
"l": 43.137
},
"oklch": {
"l": 0.73326,
"c": 0.14552,
"h": 106.8
},
"luminance": 0.40129
}Semantic roles & 50–950 ramp
primary
#B4AE28
secondary
#7074C8
accent
#48E741
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B