#B8AE2A#B8AE2A
#B8AE2A is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.7% C 0.144 H 104.9°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B8AE2A |
|---|---|
| RGB | rgb(184, 174, 42) |
| HSL | hsl(56, 63%, 44%) |
| HSV | hsv(56, 77%, 72%) |
| CMYK | cmyk(0%, 5.4%, 77.2%, 27.8%) |
| CIE-LAB | lab(69.92, -10.85, 63.77) |
| CIE-LCH | lch(69.92, 64.69, 99.66°) |
| OKLab | oklab(73.69% -0.037 0.1391) |
| OKLCH | oklch(73.69% 0.144 104.9) |
| XYZ | xyz(35.3227, 40.6310, 8.1720) |
| Luminance | 0.4063 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.12
Olive Yellow
#C2B709
ΔE00 3.45
Puke
#A5A502
ΔE00 4.19
Vomit
#A2A415
ΔE00 4.73
Brownish Yellow
#C9B003
ΔE00 4.79
Puke Yellow
#C2BE0E
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8AE2A #2A34B8
analogous
#B8672A #B8AE2A #7BB82A
triadic
#B8AE2A #2AB8AE #AE2AB8
tetradic
#B8AE2A #2AB867 #2A34B8 #B82A7B
square
#B8AE2A #2AB867 #2A34B8 #B82A7B
split-complementary
#B8AE2A #2A7BB8 #672AB8
monochromatic
#545013 #867F1F #B8AE2A #D6CC4A #E1DA7B
Accessibility & contrast
On white
2.30
#B8AE2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#B8AE2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8AE2A
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8AE2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8AE2A | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA807
Deuteranopia (green-blind)
#C1AD34
Tritanopia (blue-blind)
#C6A295
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b8ae2a; /* rgb */ color: rgb(184, 174, 42); /* oklch */ color: oklch(73.7% 0.144 104.9);
Tailwind
colors: {
custom: {
50: '#d1c56f',
500: '#b8ae2a',
950: '#000000',
},
}SCSS
$custom: #b8ae2a; $custom-light: #d1c56f; $custom-dark: #000000;
JSON
{
"hex": "#b8ae2a",
"rgb": {
"r": 184,
"g": 174,
"b": 42
},
"hsl": {
"h": 55.775,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.73695,
"c": 0.14396,
"h": 104.9
},
"luminance": 0.4063
}Semantic roles & 50–950 ramp
primary
#B8AE2A
secondary
#757BC9
accent
#4DE642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B