#B2AE47#B2AE47
#B2AE47 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.4% C 0.125 H 107.0°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AE47 |
|---|---|
| RGB | rgb(178, 174, 71) |
| HSL | hsl(58, 43%, 49%) |
| HSV | hsv(58, 60%, 70%) |
| CMYK | cmyk(0%, 2.2%, 60.1%, 30.2%) |
| CIE-LAB | lab(69.61, -11.86, 51.99) |
| CIE-LCH | lch(69.61, 53.33, 102.85°) |
| OKLab | oklab(73.39% -0.0365 0.1193) |
| OKLCH | oklch(73.39% 0.125 107) |
| XYZ | xyz(34.6346, 40.1931, 11.8936) |
| Luminance | 0.4019 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 5.06
Darkkhaki
#BDB76B
ΔE00 5.09
Puke
#A5A502
ΔE00 5.35
Khaki (survey)
#AAA662
ΔE00 5.87
Mustard Green
#A8B504
ΔE00 6.22
Olive Yellow
#C2B709
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AE47 #474BB2
analogous
#B27947 #B2AE47 #81B247
triadic
#B2AE47 #47B2AE #AE47B2
tetradic
#B2AE47 #47B279 #474BB2 #B24781
square
#B2AE47 #47B279 #474BB2 #B24781
split-complementary
#B2AE47 #4781B2 #7947B2
monochromatic
#5B5824 #868336 #B2AE47 #C6C370 #D7D59C
Accessibility & contrast
On white
2.32
#B2AE47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#B2AE47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AE47
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AE47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AE47 | 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)
#BCA83B
Deuteranopia (green-blind)
#BEAC4D
Tritanopia (blue-blind)
#BEA398
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b2ae47; /* rgb */ color: rgb(178, 174, 71); /* oklch */ color: oklch(73.4% 0.125 107.0);
Tailwind
colors: {
custom: {
50: '#ccc57e',
500: '#b2ae47',
950: '#000000',
},
}SCSS
$custom: #b2ae47; $custom-light: #ccc57e; $custom-dark: #000000;
JSON
{
"hex": "#b2ae47",
"rgb": {
"r": 178,
"g": 174,
"b": 71
},
"hsl": {
"h": 57.757,
"s": 42.972,
"l": 48.824
},
"oklch": {
"l": 0.73389,
"c": 0.12476,
"h": 107
},
"luminance": 0.40192
}Semantic roles & 50–950 ramp
primary
#B2AE47
secondary
#9193C4
accent
#5AD355
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C