#B2AE2A#B2AE2A
#B2AE2A 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 | #B2AE2A |
|---|---|
| RGB | rgb(178, 174, 42) |
| HSL | hsl(58, 62%, 43%) |
| HSV | hsv(58, 76%, 70%) |
| CMYK | cmyk(0%, 2.2%, 76.4%, 30.2%) |
| CIE-LAB | lab(69.40, -13.47, 63.11) |
| CIE-LCH | lch(69.40, 64.53, 102.05°) |
| OKLab | oklab(73.16% -0.044 0.138) |
| OKLCH | oklch(73.16% 0.145 107.7) |
| XYZ | xyz(33.9154, 39.9054, 8.1060) |
| Luminance | 0.3990 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.28
Vomit
#A2A415
ΔE00 3.62
Olive Yellow
#C2B709
ΔE00 4.25
Mustard Green
#A8B504
ΔE00 4.36
Muddy Yellow
#BFAC05
ΔE00 4.57
Puke Yellow
#C2BE0E
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AE2A #2A2EB2
analogous
#B26A2A #B2AE2A #72B22A
triadic
#B2AE2A #2AB2AE #AE2AB2
tetradic
#B2AE2A #2AB26A #2A2EB2 #B22A72
square
#B2AE2A #2AB26A #2A2EB2 #B22A72
split-complementary
#B2AE2A #2A72B2 #6A2AB2
monochromatic
#4F4D13 #807E1E #B2AE2A #D3CF46 #DFDC77
Accessibility & contrast
On white
2.34
#B2AE2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#B2AE2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AE2A
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AE2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AE2A | 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)
#BDA707
Deuteranopia (green-blind)
#BFAC35
Tritanopia (blue-blind)
#BFA295
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b2ae2a; /* rgb */ color: rgb(178, 174, 42); /* oklch */ color: oklch(73.2% 0.145 107.7);
Tailwind
colors: {
custom: {
50: '#cdc56f',
500: '#b2ae2a',
950: '#000000',
},
}SCSS
$custom: #b2ae2a; $custom-light: #cdc56f; $custom-dark: #000000;
JSON
{
"hex": "#b2ae2a",
"rgb": {
"r": 178,
"g": 174,
"b": 42
},
"hsl": {
"h": 58.235,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.73161,
"c": 0.14482,
"h": 107.7
},
"luminance": 0.39904
}Semantic roles & 50–950 ramp
primary
#B2AE2A
secondary
#7174C7
accent
#48E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B