#A5F258#A5F258

#A5F258 is a very light, vivid yellow-green. Relative luminance 0.722; OKLCH L 88.1% C 0.200 H 132.0°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#A5F258
RGBrgb(165, 242, 88)
HSLhsl(90, 86%, 65%)
HSVhsv(90, 64%, 95%)
CMYKcmyk(31.8%, 0%, 63.6%, 5.1%)
CIE-LABlab(88.07, -47.57, 64.64)
CIE-LCHlch(88.07, 80.26, 126.35°)
OKLaboklab(88.1% -0.1335 0.1484)
OKLCHoklch(88.1% 0.2 132)
XYZxyz(49.0300, 72.2064, 20.5846)
Luminance0.7221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5F258 #A558F2
analogous
#F2F258 #A5F258 #58F258
triadic
#A5F258 #58A5F2 #F258A5
tetradic
#A5F258 #58F2F2 #A558F2 #F25858
square
#A5F258 #58F2F2 #A558F2 #F25858
split-complementary
#A5F258 #5858F2 #F258F2
monochromatic
#68C10F #86EE1F #A5F258 #C4F691 #E2FBCA

Accessibility & contrast

On white

1.36
#A5F258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.44
#A5F258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5F258
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5F258#FFFFFF#000000##000000
##A5F2581.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE144
Deuteranopia (green-blind)
#F1DB64
Tritanopia (blue-blind)
#A7E9D2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #a5f258;
/* rgb */ color: rgb(165, 242, 88);
/* oklch */ color: oklch(88.1% 0.200 132.0);
Tailwind
colors: {
  custom: {
    50: '#c4f78e',
    500: '#a5f258',
    950: '#000000',
  },
}
SCSS
$custom: #a5f258;
$custom-light: #c4f78e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5f258",
  "rgb": {
    "r": 165,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 90,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.88101,
    "c": 0.19963,
    "h": 132
  },
  "luminance": 0.72208
}

Semantic roles & 50–950 ramp

primary
#A5F258
secondary
#7730BE
accent
#03E273
background
#FEFFFC
surface
#FAFEF4
border
#D3D6CE
text
#13170D
muted
#83857F

Preview Lab

Preview with #A5F258

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

Preview Lab → · Contrast checker → · Palette generator →

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