#A5B930#A5B930
#A5B930 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.6% C 0.157 H 117.7°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B930 |
|---|---|
| RGB | rgb(165, 185, 48) |
| HSL | hsl(69, 59%, 46%) |
| HSV | hsv(69, 74%, 73%) |
| CMYK | cmyk(10.8%, 0%, 74.1%, 27.5%) |
| CIE-LAB | lab(71.49, -24.29, 62.71) |
| CIE-LCH | lch(71.49, 67.26, 111.18°) |
| OKLab | oklab(74.6% -0.0729 0.1387) |
| OKLCH | oklch(74.6% 0.157 117.7) |
| XYZ | xyz(33.4003, 42.9110, 9.3189) |
| Luminance | 0.4291 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.68
Pea
#A4BF20
ΔE00 2.19
Bright Olive
#9CBB04
ΔE00 2.69
Gross Green
#A0BF16
ΔE00 2.72
Booger
#9BB53C
ΔE00 2.81
Snot
#ACBB0D
ΔE00 2.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B930 #4430B9
analogous
#B98830 #A5B930 #60B930
triadic
#A5B930 #30A5B9 #B930A5
tetradic
#A5B930 #30B988 #4430B9 #B93060
square
#A5B930 #30B988 #4430B9 #B93060
split-complementary
#A5B930 #3060B9 #8830B9
monochromatic
#4E5817 #7A8823 #A5B930 #C0D354 #D2DF84
Accessibility & contrast
On white
2.19
#A5B930 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.58
#A5B930 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B930
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B930 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B930 | 1.00 | 2.19 | 9.58 | 9.58 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF13
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#AFAF9F
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a5b930; /* rgb */ color: rgb(165, 185, 48); /* oklch */ color: oklch(74.6% 0.157 117.7);
Tailwind
colors: {
custom: {
50: '#c3ce73',
500: '#a5b930',
950: '#000000',
},
}SCSS
$custom: #a5b930; $custom-light: #c3ce73; $custom-dark: #000000;
JSON
{
"hex": "#a5b930",
"rgb": {
"r": 165,
"g": 185,
"b": 48
},
"hsl": {
"h": 68.759,
"s": 58.798,
"l": 45.686
},
"oklch": {
"l": 0.74595,
"c": 0.15664,
"h": 117.7
},
"luminance": 0.42911
}Semantic roles & 50–950 ramp
primary
#A5B930
secondary
#877CC9
accent
#46E25D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B