#A5B330#A5B330
#A5B330 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.150 H 115.6°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B330 |
|---|---|
| RGB | rgb(165, 179, 48) |
| HSL | hsl(66, 58%, 45%) |
| HSV | hsv(66, 73%, 70%) |
| CMYK | cmyk(7.8%, 0%, 73.2%, 29.8%) |
| CIE-LAB | lab(69.79, -21.33, 61.09) |
| CIE-LCH | lch(69.79, 64.71, 109.25°) |
| OKLab | oklab(73.23% -0.0647 0.1352) |
| OKLCH | oklch(73.23% 0.15 115.6) |
| XYZ | xyz(32.1715, 40.4534, 8.9093) |
| Luminance | 0.4045 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.73
Mustard Green
#A8B504
ΔE00 2.77
Sick Green
#9DB92C
ΔE00 3.06
Booger
#9BB53C
ΔE00 3.25
Snot
#ACBB0D
ΔE00 3.43
Sickly Green
#94B21C
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B330 #3E30B3
analogous
#B38030 #A5B330 #64B330
triadic
#A5B330 #30A5B3 #B330A5
tetradic
#A5B330 #30B380 #3E30B3 #B33064
square
#A5B330 #30B380 #3E30B3 #B33064
split-complementary
#A5B330 #3064B3 #8030B3
monochromatic
#4C5216 #798323 #A5B330 #C2D050 #D3DD80
Accessibility & contrast
On white
2.31
#A5B330 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#A5B330 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B330
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B330 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B330 | 1.00 | 2.31 | 9.09 | 9.09 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA16
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#B0A99A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b330; /* rgb */ color: rgb(165, 179, 48); /* oklch */ color: oklch(73.2% 0.150 115.6);
Tailwind
colors: {
custom: {
50: '#c3c972',
500: '#a5b330',
950: '#000000',
},
}SCSS
$custom: #a5b330; $custom-light: #c3c972; $custom-dark: #000000;
JSON
{
"hex": "#a5b330",
"rgb": {
"r": 165,
"g": 179,
"b": 48
},
"hsl": {
"h": 66.412,
"s": 57.709,
"l": 44.51
},
"oklch": {
"l": 0.73227,
"c": 0.1499,
"h": 115.6
},
"luminance": 0.40453
}Semantic roles & 50–950 ramp
primary
#A5B330
secondary
#8179C6
accent
#47E157
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B