#B2AE42#B2AE42
#B2AE42 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.3% C 0.129 H 107.2°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AE42 |
|---|---|
| RGB | rgb(178, 174, 66) |
| HSL | hsl(58, 46%, 48%) |
| HSV | hsv(58, 63%, 70%) |
| CMYK | cmyk(0%, 2.2%, 62.9%, 30.2%) |
| CIE-LAB | lab(69.56, -12.21, 54.14) |
| CIE-LCH | lch(69.56, 55.50, 102.70°) |
| OKLab | oklab(73.34% -0.038 0.1231) |
| OKLCH | oklch(73.34% 0.129 107.2) |
| XYZ | xyz(34.4807, 40.1315, 11.0830) |
| Luminance | 0.4013 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.63
Puke
#A5A502
ΔE00 4.84
Darkkhaki
#BDB76B
ΔE00 5.64
Mustard Green
#A8B504
ΔE00 5.74
Olive Yellow
#C2B709
ΔE00 6.05
Muddy Yellow
#BFAC05
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AE42 #4246B2
analogous
#B27642 #B2AE42 #7EB242
triadic
#B2AE42 #42B2AE #AE42B2
tetradic
#B2AE42 #42B276 #4246B2 #B2427E
square
#B2AE42 #42B276 #4246B2 #B2427E
split-complementary
#B2AE42 #427EB2 #7642B2
monochromatic
#595721 #858231 #B2AE42 #C8C46A #D8D696
Accessibility & contrast
On white
2.33
#B2AE42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#B2AE42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AE42
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AE42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AE42 | 1.00 | 2.33 | 9.03 | 9.03 |
| #FFFFFF | 2.33 | 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)
#BCA835
Deuteranopia (green-blind)
#BEAC48
Tritanopia (blue-blind)
#BEA397
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b2ae42; /* rgb */ color: rgb(178, 174, 66); /* oklch */ color: oklch(73.3% 0.129 107.2);
Tailwind
colors: {
custom: {
50: '#ccc57b',
500: '#b2ae42',
950: '#000000',
},
}SCSS
$custom: #b2ae42; $custom-light: #ccc57b; $custom-dark: #000000;
JSON
{
"hex": "#b2ae42",
"rgb": {
"r": 178,
"g": 174,
"b": 66
},
"hsl": {
"h": 57.857,
"s": 45.902,
"l": 47.843
},
"oklch": {
"l": 0.73341,
"c": 0.12888,
"h": 107.2
},
"luminance": 0.4013
}Semantic roles & 50–950 ramp
primary
#B2AE42
secondary
#8C8EC4
accent
#57D652
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C