#AFE25A#AFE25A

#AFE25A is a very light, vivid yellow-green. Relative luminance 0.642; OKLCH L 85.0% C 0.173 H 127.1°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#AFE25A
RGBrgb(175, 226, 90)
HSLhsl(83, 70%, 62%)
HSVhsv(83, 60%, 89%)
CMYKcmyk(22.6%, 0%, 60.2%, 11.4%)
CIE-LABlab(84.09, -36.83, 59.63)
CIE-LCHlch(84.09, 70.09, 121.70°)
OKLaboklab(85.03% -0.1044 0.1379)
OKLCHoklch(85.03% 0.173 127.1)
XYZxyz(46.7210, 64.2441, 19.6097)
Luminance0.6424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE25A #8D5AE2
analogous
#E2D15A #AFE25A #6BE25A
triadic
#AFE25A #5AAFE2 #E25AAF
tetradic
#AFE25A #5AE2D1 #8D5AE2 #E25A6B
square
#AFE25A #5AE2D1 #8D5AE2 #E25A6B
split-complementary
#AFE25A #5A6BE2 #D15AE2
monochromatic
#72A51D #96D926 #AFE25A #C8EB8E #E1F4C2

Accessibility & contrast

On white

1.52
#AFE25A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#AFE25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE25A
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE25A#FFFFFF#000000##000000
##AFE25A1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44A
Deuteranopia (green-blind)
#E6D164
Tritanopia (blue-blind)
#B5D8C5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe25a;
/* rgb */ color: rgb(175, 226, 90);
/* oklch */ color: oklch(85.0% 0.173 127.1);
Tailwind
colors: {
  custom: {
    50: '#caeb8e',
    500: '#afe25a',
    950: '#000000',
  },
}
SCSS
$custom: #afe25a;
$custom-light: #caeb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe25a",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 90
  },
  "hsl": {
    "h": 82.5,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85027,
    "c": 0.17295,
    "h": 127.1
  },
  "luminance": 0.64245
}

Semantic roles & 50–950 ramp

primary
#AFE25A
secondary
#6239A7
accent
#13D25B
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #AFE25A

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

Preview Lab → · Contrast checker → · Palette generator →

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