#B2AE27#B2AE27
#B2AE27 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.1% C 0.146 H 107.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AE27 |
|---|---|
| RGB | rgb(178, 174, 39) |
| HSL | hsl(58, 64%, 43%) |
| HSV | hsv(58, 78%, 70%) |
| CMYK | cmyk(0%, 2.2%, 78.1%, 30.2%) |
| CIE-LAB | lab(69.39, -13.59, 64.04) |
| CIE-LCH | lch(69.39, 65.46, 101.98°) |
| OKLab | oklab(73.14% -0.0446 0.1394) |
| OKLCH | oklch(73.14% 0.146 107.7) |
| XYZ | xyz(33.8637, 39.8847, 7.8338) |
| Luminance | 0.3988 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.19
Vomit
#A2A415
ΔE00 3.60
Olive Yellow
#C2B709
ΔE00 4.11
Mustard Green
#A8B504
ΔE00 4.28
Muddy Yellow
#BFAC05
ΔE00 4.45
Puke Yellow
#C2BE0E
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AE27 #272BB2
analogous
#B26827 #B2AE27 #71B227
triadic
#B2AE27 #27B2AE #AE27B2
tetradic
#B2AE27 #27B268 #272BB2 #B22771
square
#B2AE27 #27B268 #272BB2 #B22771
split-complementary
#B2AE27 #2771B2 #6827B2
monochromatic
#4E4C11 #807D1C #B2AE27 #D5D141 #E0DD73
Accessibility & contrast
On white
2.34
#B2AE27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#B2AE27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AE27
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AE27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AE27 | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BFAC33
Tritanopia (blue-blind)
#BFA295
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b2ae27; /* rgb */ color: rgb(178, 174, 39); /* oklch */ color: oklch(73.1% 0.146 107.7);
Tailwind
colors: {
custom: {
50: '#cdc56d',
500: '#b2ae27',
950: '#000000',
},
}SCSS
$custom: #b2ae27; $custom-light: #cdc56d; $custom-dark: #000000;
JSON
{
"hex": "#b2ae27",
"rgb": {
"r": 178,
"g": 174,
"b": 39
},
"hsl": {
"h": 58.273,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.73144,
"c": 0.14635,
"h": 107.7
},
"luminance": 0.39884
}Semantic roles & 50–950 ramp
primary
#B2AE27
secondary
#6D70C8
accent
#46E741
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B