#B2AE50#B2AE50
#B2AE50 is a light, moderate yellow. Relative luminance 0.403; OKLCH L 73.5% C 0.117 H 106.7°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AE50 |
|---|---|
| RGB | rgb(178, 174, 80) |
| HSL | hsl(58, 39%, 51%) |
| HSV | hsv(58, 55%, 70%) |
| CMYK | cmyk(0%, 2.2%, 55.1%, 30.2%) |
| CIE-LAB | lab(69.69, -11.18, 47.95) |
| CIE-LCH | lch(69.69, 49.24, 103.12°) |
| OKLab | oklab(73.49% -0.0336 0.1118) |
| OKLCH | oklch(73.49% 0.117 106.7) |
| XYZ | xyz(34.9451, 40.3173, 13.5291) |
| Luminance | 0.4032 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.10
Khaki (survey)
#AAA662
ΔE00 4.77
Vomit
#A2A415
ΔE00 6.02
Puke
#A5A502
ΔE00 6.42
Mustard Green
#A8B504
ΔE00 7.22
Booger
#9BB53C
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AE50 #5054B2
analogous
#B27D50 #B2AE50 #85B250
triadic
#B2AE50 #50B2AE #AE50B2
tetradic
#B2AE50 #50B27D #5054B2 #B25085
square
#B2AE50 #50B27D #5054B2 #B25085
split-complementary
#B2AE50 #5085B2 #7D50B2
monochromatic
#5E5C29 #89863C #B2AE50 #C5C27A #D7D5A5
Accessibility & contrast
On white
2.32
#B2AE50 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#B2AE50 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AE50
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AE50 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AE50 | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA847
Deuteranopia (green-blind)
#BDAC55
Tritanopia (blue-blind)
#BEA499
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b2ae50; /* rgb */ color: rgb(178, 174, 80); /* oklch */ color: oklch(73.5% 0.117 106.7);
Tailwind
colors: {
custom: {
50: '#cbc684',
500: '#b2ae50',
950: '#000000',
},
}SCSS
$custom: #b2ae50; $custom-light: #cbc684; $custom-dark: #000000;
JSON
{
"hex": "#b2ae50",
"rgb": {
"r": 178,
"g": 174,
"b": 80
},
"hsl": {
"h": 57.551,
"s": 38.889,
"l": 50.588
},
"oklch": {
"l": 0.73488,
"c": 0.1167,
"h": 106.7
},
"luminance": 0.40316
}Semantic roles & 50–950 ramp
primary
#B2AE50
secondary
#999BC5
accent
#5ECF59
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14120B
muted
#82817C