#B2AE37#B2AE37
#B2AE37 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.2% C 0.137 H 107.4°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AE37 |
|---|---|
| RGB | rgb(178, 174, 55) |
| HSL | hsl(58, 53%, 46%) |
| HSV | hsv(58, 69%, 70%) |
| CMYK | cmyk(0%, 2.2%, 69.1%, 30.2%) |
| CIE-LAB | lab(69.48, -12.86, 58.56) |
| CIE-LCH | lch(69.48, 59.96, 102.39°) |
| OKLab | oklab(73.25% -0.0411 0.1307) |
| OKLCH | oklch(73.25% 0.137 107.4) |
| XYZ | xyz(34.1870, 40.0140, 9.5363) |
| Luminance | 0.4001 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.93
Vomit
#A2A415
ΔE00 3.96
Mustard Green
#A8B504
ΔE00 4.93
Olive Yellow
#C2B709
ΔE00 5.08
Muddy Yellow
#BFAC05
ΔE00 5.28
Snot
#ACBB0D
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AE37 #373BB2
analogous
#B27037 #B2AE37 #78B237
triadic
#B2AE37 #37B2AE #AE37B2
tetradic
#B2AE37 #37B270 #373BB2 #B23778
square
#B2AE37 #37B270 #373BB2 #B23778
split-complementary
#B2AE37 #3778B2 #7037B2
monochromatic
#54531A #838029 #B2AE37 #CCC85A #DBD889
Accessibility & contrast
On white
2.33
#B2AE37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.00
#B2AE37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AE37
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AE37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AE37 | 1.00 | 2.33 | 9.00 | 9.00 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA725
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#BFA396
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b2ae37; /* rgb */ color: rgb(178, 174, 55); /* oklch */ color: oklch(73.2% 0.137 107.4);
Tailwind
colors: {
custom: {
50: '#ccc575',
500: '#b2ae37',
950: '#000000',
},
}SCSS
$custom: #b2ae37; $custom-light: #ccc575; $custom-dark: #000000;
JSON
{
"hex": "#b2ae37",
"rgb": {
"r": 178,
"g": 174,
"b": 55
},
"hsl": {
"h": 58.049,
"s": 52.79,
"l": 45.686
},
"oklch": {
"l": 0.73247,
"c": 0.137,
"h": 107.4
},
"luminance": 0.40013
}Semantic roles & 50–950 ramp
primary
#B2AE37
secondary
#8082C5
accent
#50DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B