#A5BC31#A5BC31
#A5BC31 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.3% C 0.159 H 118.7°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BC31 |
|---|---|
| RGB | rgb(165, 188, 49) |
| HSL | hsl(70, 59%, 46%) |
| HSV | hsv(70, 74%, 74%) |
| CMYK | cmyk(12.2%, 0%, 73.9%, 26.3%) |
| CIE-LAB | lab(72.35, -25.71, 63.19) |
| CIE-LCH | lch(72.35, 68.22, 112.14°) |
| OKLab | oklab(75.29% -0.0767 0.1398) |
| OKLCH | oklch(75.29% 0.159 118.7) |
| XYZ | xyz(34.0554, 44.1878, 9.6402) |
| Luminance | 0.4419 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.48
Pea
#A4BF20
ΔE00 1.55
Gross Green
#A0BF16
ΔE00 2.11
Bright Olive
#9CBB04
ΔE00 2.41
Booger
#9BB53C
ΔE00 2.97
Snot Green
#9DC100
ΔE00 3.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BC31 #4831BC
analogous
#BC8E31 #A5BC31 #60BC31
triadic
#A5BC31 #31A5BC #BC31A5
tetradic
#A5BC31 #31BC8E #4831BC #BC3160
square
#A5BC31 #31BC8E #4831BC #BC3160
split-complementary
#A5BC31 #3160BC #8E31BC
monochromatic
#505B18 #7A8B24 #A5BC31 #BFD357 #D1E088
Accessibility & contrast
On white
2.13
#A5BC31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.84
#A5BC31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BC31
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BC31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BC31 | 1.00 | 2.13 | 9.84 | 9.84 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B113
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#AFB2A1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #a5bc31; /* rgb */ color: rgb(165, 188, 49); /* oklch */ color: oklch(75.3% 0.159 118.7);
Tailwind
colors: {
custom: {
50: '#c3d073',
500: '#a5bc31',
950: '#000000',
},
}SCSS
$custom: #a5bc31; $custom-light: #c3d073; $custom-dark: #000000;
JSON
{
"hex": "#a5bc31",
"rgb": {
"r": 165,
"g": 188,
"b": 49
},
"hsl": {
"h": 69.928,
"s": 58.65,
"l": 46.471
},
"oklch": {
"l": 0.75288,
"c": 0.15948,
"h": 118.7
},
"luminance": 0.44188
}Semantic roles & 50–950 ramp
primary
#A5BC31
secondary
#8C7FCA
accent
#46E260
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B