#A5F940#A5F940

#A5F940 is a very light, highly saturated yellow-green. Relative luminance 0.761; OKLCH L 89.6% C 0.223 H 131.4°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#A5F940
RGBrgb(165, 249, 64)
HSLhsl(87, 94%, 61%)
HSVhsv(87, 74%, 98%)
CMYKcmyk(33.7%, 0%, 74.3%, 2.4%)
CIE-LABlab(89.91, -52.05, 75.15)
CIE-LCHlch(89.91, 91.41, 124.71°)
OKLaboklab(89.56% -0.1475 0.1673)
OKLCHoklch(89.56% 0.223 131.4)
XYZxyz(50.3177, 76.1189, 16.8908)
Luminance0.7612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5F940 #9440F9
analogous
#F9F040 #A5F940 #49F940
triadic
#A5F940 #40A5F9 #F940A5
tetradic
#A5F940 #40F9F0 #9440F9 #F94049
square
#A5F940 #40F9F0 #9440F9 #F94049
split-complementary
#A5F940 #4049F9 #F040F9
monochromatic
#68B906 #89F408 #A5F940 #C1FB7B #DDFDB7

Accessibility & contrast

On white

1.29
#A5F940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.22
#A5F940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5F940
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5F940#FFFFFF#000000##000000
##A5F9401.001.2916.2216.22
#FFFFFF1.291.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE614
Deuteranopia (green-blind)
#F8E053
Tritanopia (blue-blind)
#A8EFD6
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #a5f940;
/* rgb */ color: rgb(165, 249, 64);
/* oklch */ color: oklch(89.6% 0.223 131.4);
Tailwind
colors: {
  custom: {
    50: '#c5fb81',
    500: '#a5f940',
    950: '#000000',
  },
}
SCSS
$custom: #a5f940;
$custom-light: #c5fb81;
$custom-dark: #000000;
JSON
{
  "hex": "#a5f940",
  "rgb": {
    "r": 165,
    "g": 249,
    "b": 64
  },
  "hsl": {
    "h": 87.243,
    "s": 93.909,
    "l": 61.373
  },
  "oklch": {
    "l": 0.89555,
    "c": 0.223,
    "h": 131.4
  },
  "luminance": 0.76121
}

Semantic roles & 50–950 ramp

primary
#A5F940
secondary
#6826B7
accent
#00E668
background
#FEFFFB
surface
#FBFFF2
border
#D4D7CC
text
#14170B
muted
#83857E

Preview Lab

Preview with #A5F940

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A5F940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva