#B2AE30#B2AE30
#B2AE30 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.2% C 0.141 H 107.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AE30 |
|---|---|
| RGB | rgb(178, 174, 48) |
| HSL | hsl(58, 58%, 44%) |
| HSV | hsv(58, 73%, 70%) |
| CMYK | cmyk(0%, 2.2%, 73%, 30.2%) |
| CIE-LAB | lab(69.44, -13.21, 61.11) |
| CIE-LCH | lch(69.44, 62.52, 102.20°) |
| OKLab | oklab(73.2% -0.0427 0.1348) |
| OKLCH | oklch(73.2% 0.141 107.6) |
| XYZ | xyz(34.0310, 39.9516, 8.7146) |
| Luminance | 0.3995 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.52
Vomit
#A2A415
ΔE00 3.72
Mustard Green
#A8B504
ΔE00 4.57
Olive Yellow
#C2B709
ΔE00 4.59
Muddy Yellow
#BFAC05
ΔE00 4.85
Puke Yellow
#C2BE0E
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AE30 #3034B2
analogous
#B26D30 #B2AE30 #75B230
triadic
#B2AE30 #30B2AE #AE30B2
tetradic
#B2AE30 #30B26D #3034B2 #B23075
square
#B2AE30 #30B26D #3034B2 #B23075
split-complementary
#B2AE30 #3075B2 #6D30B2
monochromatic
#525016 #827F23 #B2AE30 #D0CC50 #DDDA80
Accessibility & contrast
On white
2.34
#B2AE30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.99
#B2AE30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AE30
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AE30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AE30 | 1.00 | 2.34 | 8.99 | 8.99 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA718
Deuteranopia (green-blind)
#BFAC39
Tritanopia (blue-blind)
#BFA296
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b2ae30; /* rgb */ color: rgb(178, 174, 48); /* oklch */ color: oklch(73.2% 0.141 107.6);
Tailwind
colors: {
custom: {
50: '#cdc572',
500: '#b2ae30',
950: '#000000',
},
}SCSS
$custom: #b2ae30; $custom-light: #cdc572; $custom-dark: #000000;
JSON
{
"hex": "#b2ae30",
"rgb": {
"r": 178,
"g": 174,
"b": 48
},
"hsl": {
"h": 58.154,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.73197,
"c": 0.14145,
"h": 107.6
},
"luminance": 0.3995
}Semantic roles & 50–950 ramp
primary
#B2AE30
secondary
#787BC6
accent
#4CE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B