#A5B932#A5B932
#A5B932 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.6% C 0.155 H 117.8°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B932 |
|---|---|
| RGB | rgb(165, 185, 50) |
| HSL | hsl(69, 57%, 46%) |
| HSV | hsv(69, 73%, 73%) |
| CMYK | cmyk(10.8%, 0%, 73%, 27.5%) |
| CIE-LAB | lab(71.51, -24.20, 62.04) |
| CIE-LCH | lch(71.51, 66.59, 111.31°) |
| OKLab | oklab(74.61% -0.0724 0.1376) |
| OKLCH | oklch(74.61% 0.155 117.8) |
| XYZ | xyz(33.4425, 42.9279, 9.5412) |
| Luminance | 0.4293 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.66
Pea
#A4BF20
ΔE00 2.29
Booger
#9BB53C
ΔE00 2.68
Bright Olive
#9CBB04
ΔE00 2.81
Gross Green
#A0BF16
ΔE00 2.82
Snot
#ACBB0D
ΔE00 3.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B932 #4632B9
analogous
#B98932 #A5B932 #61B932
triadic
#A5B932 #32A5B9 #B932A5
tetradic
#A5B932 #32B989 #4632B9 #B93261
square
#A5B932 #32B989 #4632B9 #B93261
split-complementary
#A5B932 #3261B9 #8932B9
monochromatic
#4F5918 #7A8925 #A5B932 #BFD257 #D2DF87
Accessibility & contrast
On white
2.19
#A5B932 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.59
#A5B932 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B932
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B932 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B932 | 1.00 | 2.19 | 9.59 | 9.59 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF17
Deuteranopia (green-blind)
#C3B03D
Tritanopia (blue-blind)
#AFAF9F
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a5b932; /* rgb */ color: rgb(165, 185, 50); /* oklch */ color: oklch(74.6% 0.155 117.8);
Tailwind
colors: {
custom: {
50: '#c3ce74',
500: '#a5b932',
950: '#000000',
},
}SCSS
$custom: #a5b932; $custom-light: #c3ce74; $custom-dark: #000000;
JSON
{
"hex": "#a5b932",
"rgb": {
"r": 165,
"g": 185,
"b": 50
},
"hsl": {
"h": 68.889,
"s": 57.447,
"l": 46.078
},
"oklch": {
"l": 0.74608,
"c": 0.15548,
"h": 117.8
},
"luminance": 0.42928
}Semantic roles & 50–950 ramp
primary
#A5B932
secondary
#897FC8
accent
#47E15E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B