#B2AE2D#B2AE2D
#B2AE2D is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.2% C 0.143 H 107.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AE2D |
|---|---|
| RGB | rgb(178, 174, 45) |
| HSL | hsl(58, 60%, 44%) |
| HSV | hsv(58, 75%, 70%) |
| CMYK | cmyk(0%, 2.2%, 74.7%, 30.2%) |
| CIE-LAB | lab(69.42, -13.35, 62.13) |
| CIE-LCH | lch(69.42, 63.55, 102.12°) |
| OKLab | oklab(73.18% -0.0434 0.1365) |
| OKLCH | oklch(73.18% 0.143 107.6) |
| XYZ | xyz(33.9711, 39.9277, 8.3995) |
| Luminance | 0.3993 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.39
Vomit
#A2A415
ΔE00 3.66
Olive Yellow
#C2B709
ΔE00 4.41
Mustard Green
#A8B504
ΔE00 4.46
Muddy Yellow
#BFAC05
ΔE00 4.70
Puke Yellow
#C2BE0E
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AE2D #2D31B2
analogous
#B26B2D #B2AE2D #73B22D
triadic
#B2AE2D #2DB2AE #AE2DB2
tetradic
#B2AE2D #2DB26B #2D31B2 #B22D73
square
#B2AE2D #2DB26B #2D31B2 #B22D73
split-complementary
#B2AE2D #2D73B2 #6B2DB2
monochromatic
#504E14 #817E21 #B2AE2D #D1CD4B #DEDB7C
Accessibility & contrast
On white
2.34
#B2AE2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.99
#B2AE2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AE2D
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AE2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AE2D | 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)
#BDA711
Deuteranopia (green-blind)
#BFAC37
Tritanopia (blue-blind)
#BFA295
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b2ae2d; /* rgb */ color: rgb(178, 174, 45); /* oklch */ color: oklch(73.2% 0.143 107.6);
Tailwind
colors: {
custom: {
50: '#cdc570',
500: '#b2ae2d',
950: '#000000',
},
}SCSS
$custom: #b2ae2d; $custom-light: #cdc570; $custom-dark: #000000;
JSON
{
"hex": "#b2ae2d",
"rgb": {
"r": 178,
"g": 174,
"b": 45
},
"hsl": {
"h": 58.195,
"s": 59.641,
"l": 43.725
},
"oklch": {
"l": 0.73178,
"c": 0.1432,
"h": 107.6
},
"luminance": 0.39927
}Semantic roles & 50–950 ramp
primary
#B2AE2D
secondary
#7577C6
accent
#4AE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B