#B2AE46#B2AE46
#B2AE46 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.4% C 0.126 H 107.0°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AE46 |
|---|---|
| RGB | rgb(178, 174, 70) |
| HSL | hsl(58, 44%, 49%) |
| HSV | hsv(58, 61%, 70%) |
| CMYK | cmyk(0%, 2.2%, 60.7%, 30.2%) |
| CIE-LAB | lab(69.60, -11.93, 52.43) |
| CIE-LCH | lch(69.60, 53.77, 102.82°) |
| OKLab | oklab(73.38% -0.0368 0.1201) |
| OKLCH | oklch(73.38% 0.126 107) |
| XYZ | xyz(34.6028, 40.1803, 11.7260) |
| Luminance | 0.4018 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.97
Darkkhaki
#BDB76B
ΔE00 5.20
Puke
#A5A502
ΔE00 5.24
Khaki (survey)
#AAA662
ΔE00 5.99
Mustard Green
#A8B504
ΔE00 6.12
Olive Yellow
#C2B709
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AE46 #464AB2
analogous
#B27846 #B2AE46 #80B246
triadic
#B2AE46 #46B2AE #AE46B2
tetradic
#B2AE46 #46B278 #464AB2 #B24680
square
#B2AE46 #46B278 #464AB2 #B24680
split-complementary
#B2AE46 #4680B2 #7846B2
monochromatic
#5A5823 #868335 #B2AE46 #C6C36F #D8D59B
Accessibility & contrast
On white
2.32
#B2AE46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#B2AE46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AE46
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AE46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AE46 | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA83A
Deuteranopia (green-blind)
#BEAC4C
Tritanopia (blue-blind)
#BEA398
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b2ae46; /* rgb */ color: rgb(178, 174, 70); /* oklch */ color: oklch(73.4% 0.126 107.0);
Tailwind
colors: {
custom: {
50: '#ccc57e',
500: '#b2ae46',
950: '#000000',
},
}SCSS
$custom: #b2ae46; $custom-light: #ccc57e; $custom-dark: #000000;
JSON
{
"hex": "#b2ae46",
"rgb": {
"r": 178,
"g": 174,
"b": 70
},
"hsl": {
"h": 57.778,
"s": 43.548,
"l": 48.627
},
"oklch": {
"l": 0.73379,
"c": 0.1256,
"h": 107
},
"luminance": 0.40179
}Semantic roles & 50–950 ramp
primary
#B2AE46
secondary
#9092C4
accent
#59D355
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C