#B5AA30#B5AA30
#B5AA30 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.137 H 104.1°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AA30 |
|---|---|
| RGB | rgb(181, 170, 48) |
| HSL | hsl(55, 58%, 45%) |
| HSV | hsv(55, 73%, 71%) |
| CMYK | cmyk(0%, 6.1%, 73.5%, 29%) |
| CIE-LAB | lab(68.60, -9.83, 60.40) |
| CIE-LCH | lch(68.60, 61.20, 99.24°) |
| OKLab | oklab(72.59% -0.0334 0.1332) |
| OKLCH | oklch(72.59% 0.137 104.1) |
| XYZ | xyz(33.9657, 38.7880, 8.4934) |
| Luminance | 0.3879 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.65
Puke
#A5A502
ΔE00 3.99
Vomit
#A2A415
ΔE00 4.33
Olive Yellow
#C2B709
ΔE00 4.81
Brownish Yellow
#C9B003
ΔE00 5.42
Puke Yellow
#C2BE0E
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AA30 #303BB5
analogous
#B56830 #B5AA30 #7DB530
triadic
#B5AA30 #30B5AA #AA30B5
tetradic
#B5AA30 #30B568 #303BB5 #B5307D
square
#B5AA30 #30B568 #303BB5 #B5307D
split-complementary
#B5AA30 #307DB5 #6830B5
monochromatic
#544F16 #857D23 #B5AA30 #D1C651 #DED682
Accessibility & contrast
On white
2.40
#B5AA30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#B5AA30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AA30
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AA30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AA30 | 1.00 | 2.40 | 8.76 | 8.76 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A419
Deuteranopia (green-blind)
#BDAA39
Tritanopia (blue-blind)
#C39E92
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b5aa30; /* rgb */ color: rgb(181, 170, 48); /* oklch */ color: oklch(72.6% 0.137 104.1);
Tailwind
colors: {
custom: {
50: '#cfc371',
500: '#b5aa30',
950: '#000000',
},
}SCSS
$custom: #b5aa30; $custom-light: #cfc371; $custom-dark: #000000;
JSON
{
"hex": "#b5aa30",
"rgb": {
"r": 181,
"g": 170,
"b": 48
},
"hsl": {
"h": 55.038,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.72592,
"c": 0.13735,
"h": 104.1
},
"luminance": 0.38787
}Semantic roles & 50–950 ramp
primary
#B5AA30
secondary
#7A80C7
accent
#53E146
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B