#B2AE2B#B2AE2B
#B2AE2B is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.2% C 0.144 H 107.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AE2B |
|---|---|
| RGB | rgb(178, 174, 43) |
| HSL | hsl(58, 61%, 43%) |
| HSV | hsv(58, 76%, 70%) |
| CMYK | cmyk(0%, 2.2%, 75.8%, 30.2%) |
| CIE-LAB | lab(69.41, -13.43, 62.79) |
| CIE-LCH | lch(69.41, 64.21, 102.07°) |
| OKLab | oklab(73.17% -0.0438 0.1375) |
| OKLCH | oklch(73.17% 0.144 107.7) |
| XYZ | xyz(33.9335, 39.9127, 8.2015) |
| Luminance | 0.3991 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.31
Vomit
#A2A415
ΔE00 3.63
Olive Yellow
#C2B709
ΔE00 4.30
Mustard Green
#A8B504
ΔE00 4.39
Muddy Yellow
#BFAC05
ΔE00 4.61
Puke Yellow
#C2BE0E
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AE2B #2B2FB2
analogous
#B26A2B #B2AE2B #72B22B
triadic
#B2AE2B #2BB2AE #AE2BB2
tetradic
#B2AE2B #2BB26A #2B2FB2 #B22B72
square
#B2AE2B #2BB26A #2B2FB2 #B22B72
split-complementary
#B2AE2B #2B72B2 #6A2BB2
monochromatic
#4F4E13 #817E1F #B2AE2B #D3CF48 #DFDC79
Accessibility & contrast
On white
2.34
#B2AE2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#B2AE2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AE2B
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AE2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AE2B | 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)
#BDA70B
Deuteranopia (green-blind)
#BFAC36
Tritanopia (blue-blind)
#BFA295
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b2ae2b; /* rgb */ color: rgb(178, 174, 43); /* oklch */ color: oklch(73.2% 0.144 107.7);
Tailwind
colors: {
custom: {
50: '#cdc56f',
500: '#b2ae2b',
950: '#000000',
},
}SCSS
$custom: #b2ae2b; $custom-light: #cdc56f; $custom-dark: #000000;
JSON
{
"hex": "#b2ae2b",
"rgb": {
"r": 178,
"g": 174,
"b": 43
},
"hsl": {
"h": 58.222,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.73166,
"c": 0.14429,
"h": 107.7
},
"luminance": 0.39911
}Semantic roles & 50–950 ramp
primary
#B2AE2B
secondary
#7275C7
accent
#48E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B