#A5B831#A5B831
#A5B831 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.4% C 0.155 H 117.4°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B831 |
|---|---|
| RGB | rgb(165, 184, 49) |
| HSL | hsl(68, 58%, 46%) |
| HSV | hsv(68, 73%, 72%) |
| CMYK | cmyk(10.3%, 0%, 73.4%, 27.8%) |
| CIE-LAB | lab(71.22, -23.76, 62.11) |
| CIE-LCH | lch(71.22, 66.50, 110.93°) |
| OKLab | oklab(74.37% -0.0713 0.1376) |
| OKLCH | oklch(74.37% 0.155 117.4) |
| XYZ | xyz(33.2127, 42.5024, 9.3593) |
| Luminance | 0.4250 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.83
Pea
#A4BF20
ΔE00 2.50
Booger
#9BB53C
ΔE00 2.74
Bright Olive
#9CBB04
ΔE00 2.92
Gross Green
#A0BF16
ΔE00 3.02
Snot
#ACBB0D
ΔE00 3.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B831 #4431B8
analogous
#B88731 #A5B831 #62B831
triadic
#A5B831 #31A5B8 #B831A5
tetradic
#A5B831 #31B887 #4431B8 #B83162
square
#A5B831 #31B887 #4431B8 #B83162
split-complementary
#A5B831 #3162B8 #8731B8
monochromatic
#4E5717 #7A8824 #A5B831 #C0D255 #D2DE85
Accessibility & contrast
On white
2.21
#A5B831 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.50
#A5B831 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B831
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B831 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B831 | 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)
#C5AE16
Deuteranopia (green-blind)
#C3AF3C
Tritanopia (blue-blind)
#AFAE9E
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a5b831; /* rgb */ color: rgb(165, 184, 49); /* oklch */ color: oklch(74.4% 0.155 117.4);
Tailwind
colors: {
custom: {
50: '#c3cd73',
500: '#a5b831',
950: '#000000',
},
}SCSS
$custom: #a5b831; $custom-light: #c3cd73; $custom-dark: #000000;
JSON
{
"hex": "#a5b831",
"rgb": {
"r": 165,
"g": 184,
"b": 49
},
"hsl": {
"h": 68.444,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.74373,
"c": 0.15493,
"h": 117.4
},
"luminance": 0.42502
}Semantic roles & 50–950 ramp
primary
#A5B831
secondary
#877DC8
accent
#47E15C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B