#B2AA30#B2AA30
#B2AA30 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.3% C 0.138 H 105.6°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AA30 |
|---|---|
| RGB | rgb(178, 170, 48) |
| HSL | hsl(56, 58%, 44%) |
| HSV | hsv(56, 73%, 70%) |
| CMYK | cmyk(0%, 4.5%, 73%, 30.2%) |
| CIE-LAB | lab(68.34, -11.14, 60.06) |
| CIE-LCH | lch(68.34, 61.09, 100.51°) |
| OKLab | oklab(72.32% -0.0369 0.1326) |
| OKLCH | oklch(72.32% 0.138 105.6) |
| XYZ | xyz(33.2697, 38.4291, 8.4608) |
| Luminance | 0.3843 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.43
Vomit
#A2A415
ΔE00 3.65
Muddy Yellow
#BFAC05
ΔE00 4.29
Olive Yellow
#C2B709
ΔE00 5.06
Mustard Green
#A8B504
ΔE00 5.84
Brownish Yellow
#C9B003
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AA30 #3038B2
analogous
#B26930 #B2AA30 #79B230
triadic
#B2AA30 #30B2AA #AA30B2
tetradic
#B2AA30 #30B269 #3038B2 #B23079
square
#B2AA30 #30B269 #3038B2 #B23079
split-complementary
#B2AA30 #3079B2 #6930B2
monochromatic
#524E16 #827C23 #B2AA30 #D0C850 #DDD780
Accessibility & contrast
On white
2.42
#B2AA30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.69
#B2AA30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AA30
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AA30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AA30 | 1.00 | 2.42 | 8.69 | 8.69 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A41A
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#BF9E92
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b2aa30; /* rgb */ color: rgb(178, 170, 48); /* oklch */ color: oklch(72.3% 0.138 105.6);
Tailwind
colors: {
custom: {
50: '#cdc371',
500: '#b2aa30',
950: '#000000',
},
}SCSS
$custom: #b2aa30; $custom-light: #cdc371; $custom-dark: #000000;
JSON
{
"hex": "#b2aa30",
"rgb": {
"r": 178,
"g": 170,
"b": 48
},
"hsl": {
"h": 56.308,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.72321,
"c": 0.13767,
"h": 105.6
},
"luminance": 0.38428
}Semantic roles & 50–950 ramp
primary
#B2AA30
secondary
#787DC6
accent
#50E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B