#A5B830#A5B830
#A5B830 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.4% C 0.156 H 117.4°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B830 |
|---|---|
| RGB | rgb(165, 184, 48) |
| HSL | hsl(68, 59%, 45%) |
| HSV | hsv(68, 74%, 72%) |
| CMYK | cmyk(10.3%, 0%, 73.9%, 27.8%) |
| CIE-LAB | lab(71.21, -23.81, 62.44) |
| CIE-LCH | lch(71.21, 66.83, 110.87°) |
| OKLab | oklab(74.37% -0.0715 0.1381) |
| OKLCH | oklch(74.37% 0.156 117.4) |
| XYZ | xyz(33.1918, 42.4941, 9.2494) |
| Luminance | 0.4249 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.84
Pea
#A4BF20
ΔE00 2.45
Booger
#9BB53C
ΔE00 2.80
Bright Olive
#9CBB04
ΔE00 2.87
Snot
#ACBB0D
ΔE00 2.96
Gross Green
#A0BF16
ΔE00 2.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B830 #4330B8
analogous
#B88730 #A5B830 #61B830
triadic
#A5B830 #30A5B8 #B830A5
tetradic
#A5B830 #30B887 #4330B8 #B83061
square
#A5B830 #30B887 #4330B8 #B83061
split-complementary
#A5B830 #3061B8 #8730B8
monochromatic
#4E5717 #798723 #A5B830 #C0D253 #D2DF84
Accessibility & contrast
On white
2.21
#A5B830 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.50
#A5B830 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B830
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B830 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B830 | 1.00 | 2.21 | 9.50 | 9.50 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE13
Deuteranopia (green-blind)
#C3AF3C
Tritanopia (blue-blind)
#AFAE9E
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a5b830; /* rgb */ color: rgb(165, 184, 48); /* oklch */ color: oklch(74.4% 0.156 117.4);
Tailwind
colors: {
custom: {
50: '#c3cd72',
500: '#a5b830',
950: '#000000',
},
}SCSS
$custom: #a5b830; $custom-light: #c3cd72; $custom-dark: #000000;
JSON
{
"hex": "#a5b830",
"rgb": {
"r": 165,
"g": 184,
"b": 48
},
"hsl": {
"h": 68.382,
"s": 58.621,
"l": 45.49
},
"oklch": {
"l": 0.74367,
"c": 0.15551,
"h": 117.4
},
"luminance": 0.42494
}Semantic roles & 50–950 ramp
primary
#A5B830
secondary
#867CC8
accent
#46E25C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B