#B2AE29#B2AE29
#B2AE29 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.2% C 0.145 H 107.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AE29 |
|---|---|
| RGB | rgb(178, 174, 41) |
| HSL | hsl(58, 63%, 43%) |
| HSV | hsv(58, 77%, 70%) |
| CMYK | cmyk(0%, 2.2%, 77%, 30.2%) |
| CIE-LAB | lab(69.40, -13.51, 63.42) |
| CIE-LCH | lch(69.40, 64.85, 102.03°) |
| OKLab | oklab(73.16% -0.0442 0.1385) |
| OKLCH | oklch(73.16% 0.145 107.7) |
| XYZ | xyz(33.8977, 39.8983, 8.0130) |
| Luminance | 0.3990 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.25
Vomit
#A2A415
ΔE00 3.61
Olive Yellow
#C2B709
ΔE00 4.20
Mustard Green
#A8B504
ΔE00 4.33
Muddy Yellow
#BFAC05
ΔE00 4.53
Puke Yellow
#C2BE0E
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AE29 #292DB2
analogous
#B26929 #B2AE29 #71B229
triadic
#B2AE29 #29B2AE #AE29B2
tetradic
#B2AE29 #29B269 #292DB2 #B22971
square
#B2AE29 #29B269 #292DB2 #B22971
split-complementary
#B2AE29 #2971B2 #6929B2
monochromatic
#4F4D12 #807D1E #B2AE29 #D4D044 #DFDC76
Accessibility & contrast
On white
2.34
#B2AE29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#B2AE29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AE29
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AE29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AE29 | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA704
Deuteranopia (green-blind)
#BFAC34
Tritanopia (blue-blind)
#BFA295
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b2ae29; /* rgb */ color: rgb(178, 174, 41); /* oklch */ color: oklch(73.2% 0.145 107.7);
Tailwind
colors: {
custom: {
50: '#cdc56e',
500: '#b2ae29',
950: '#000000',
},
}SCSS
$custom: #b2ae29; $custom-light: #cdc56e; $custom-dark: #000000;
JSON
{
"hex": "#b2ae29",
"rgb": {
"r": 178,
"g": 174,
"b": 41
},
"hsl": {
"h": 58.248,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.73155,
"c": 0.14535,
"h": 107.7
},
"luminance": 0.39897
}Semantic roles & 50–950 ramp
primary
#B2AE29
secondary
#7072C7
accent
#47E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B