#B2AE45#B2AE45
#B2AE45 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.4% C 0.126 H 107.1°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AE45 |
|---|---|
| RGB | rgb(178, 174, 69) |
| HSL | hsl(58, 44%, 48%) |
| HSV | hsv(58, 61%, 70%) |
| CMYK | cmyk(0%, 2.2%, 61.2%, 30.2%) |
| CIE-LAB | lab(69.59, -12.00, 52.86) |
| CIE-LCH | lch(69.59, 54.21, 102.79°) |
| OKLab | oklab(73.37% -0.0371 0.1209) |
| OKLCH | oklch(73.37% 0.126 107.1) |
| XYZ | xyz(34.5715, 40.1678, 11.5611) |
| Luminance | 0.4017 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.88
Puke
#A5A502
ΔE00 5.14
Darkkhaki
#BDB76B
ΔE00 5.31
Mustard Green
#A8B504
ΔE00 6.02
Khaki (survey)
#AAA662
ΔE00 6.11
Olive Yellow
#C2B709
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AE45 #4549B2
analogous
#B27745 #B2AE45 #7FB245
triadic
#B2AE45 #45B2AE #AE45B2
tetradic
#B2AE45 #45B277 #4549B2 #B2457F
square
#B2AE45 #45B277 #4549B2 #B2457F
split-complementary
#B2AE45 #457FB2 #7745B2
monochromatic
#5A5823 #868334 #B2AE45 #C7C36E #D8D59A
Accessibility & contrast
On white
2.32
#B2AE45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#B2AE45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AE45
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AE45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AE45 | 1.00 | 2.32 | 9.03 | 9.03 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA839
Deuteranopia (green-blind)
#BEAC4B
Tritanopia (blue-blind)
#BEA398
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b2ae45; /* rgb */ color: rgb(178, 174, 69); /* oklch */ color: oklch(73.4% 0.126 107.1);
Tailwind
colors: {
custom: {
50: '#ccc57d',
500: '#b2ae45',
950: '#000000',
},
}SCSS
$custom: #b2ae45; $custom-light: #ccc57d; $custom-dark: #000000;
JSON
{
"hex": "#b2ae45",
"rgb": {
"r": 178,
"g": 174,
"b": 69
},
"hsl": {
"h": 57.798,
"s": 44.13,
"l": 48.431
},
"oklch": {
"l": 0.73369,
"c": 0.12643,
"h": 107.1
},
"luminance": 0.40167
}Semantic roles & 50–950 ramp
primary
#B2AE45
secondary
#8F91C4
accent
#59D454
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C