#A5E231#A5E231

#A5E231 is a very light, highly saturated yellow-green. Relative luminance 0.626; OKLCH L 84.1% C 0.204 H 127.6°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#A5E231
RGBrgb(165, 226, 49)
HSLhsl(81, 75%, 54%)
HSVhsv(81, 78%, 89%)
CMYKcmyk(27%, 0%, 78.3%, 11.4%)
CIE-LABlab(83.24, -43.12, 73.35)
CIE-LCHlch(83.24, 85.09, 120.45°)
OKLaboklab(84.1% -0.1243 0.1613)
OKLCHoklch(84.1% 0.204 127.6)
XYZxyz(43.2679, 62.6128, 12.7110)
Luminance0.6261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5E231 #6E31E2
analogous
#E2C731 #A5E231 #4DE231
triadic
#A5E231 #31A5E2 #E231A5
tetradic
#A5E231 #31E2C7 #6E31E2 #E2314D
square
#A5E231 #31E2C7 #6E31E2 #E2314D
split-complementary
#A5E231 #314DE2 #C731E2
monochromatic
#5E8613 #84BB1A #A5E231 #BCEA67 #D4F19C

Accessibility & contrast

On white

1.55
#A5E231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#A5E231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5E231
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5E231#FFFFFF#000000##000000
##A5E2311.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED200
Deuteranopia (green-blind)
#E5CE44
Tritanopia (blue-blind)
#ABD7C2
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #a5e231;
/* rgb */ color: rgb(165, 226, 49);
/* oklch */ color: oklch(84.1% 0.204 127.6);
Tailwind
colors: {
  custom: {
    50: '#c5eb78',
    500: '#a5e231',
    950: '#000000',
  },
}
SCSS
$custom: #a5e231;
$custom-light: #c5eb78;
$custom-dark: #000000;
JSON
{
  "hex": "#a5e231",
  "rgb": {
    "r": 165,
    "g": 226,
    "b": 49
  },
  "hsl": {
    "h": 80.678,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.84095,
    "c": 0.2036,
    "h": 127.6
  },
  "luminance": 0.62614
}

Semantic roles & 50–950 ramp

primary
#A5E231
secondary
#4D2B8C
accent
#36F277
background
#FEFEFB
surface
#FAFDF2
border
#D3D5CC
text
#13160A
muted
#83847D

Preview Lab

Preview with #A5E231

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

Preview Lab → · Contrast checker → · Palette generator →

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