#AFE25D#AFE25D

#AFE25D is a very light, vivid yellow-green. Relative luminance 0.643; OKLCH L 85.1% C 0.171 H 127.3°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#AFE25D
RGBrgb(175, 226, 93)
HSLhsl(83, 70%, 63%)
HSVhsv(83, 59%, 89%)
CMYKcmyk(22.6%, 0%, 58.8%, 11.4%)
CIE-LABlab(84.12, -36.58, 58.37)
CIE-LCHlch(84.12, 68.89, 122.07°)
OKLaboklab(85.06% -0.1034 0.1356)
OKLCHoklch(85.06% 0.171 127.3)
XYZxyz(46.8513, 64.2962, 20.2959)
Luminance0.6430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE25D #905DE2
analogous
#E2D35D #AFE25D #6CE25D
triadic
#AFE25D #5DAFE2 #E25DAF
tetradic
#AFE25D #5DE2D3 #905DE2 #E25D6C
square
#AFE25D #5DE2D3 #905DE2 #E25D6C
split-complementary
#AFE25D #5D6CE2 #D35DE2
monochromatic
#72A71E #95D929 #AFE25D #C9EB91 #E2F5C5

Accessibility & contrast

On white

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

On black

13.86
#AFE25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE25D
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE25D#FFFFFF#000000##000000
##AFE25D1.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44E
Deuteranopia (green-blind)
#E5D166
Tritanopia (blue-blind)
#B5D9C5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe25d;
/* rgb */ color: rgb(175, 226, 93);
/* oklch */ color: oklch(85.1% 0.171 127.3);
Tailwind
colors: {
  custom: {
    50: '#caeb8f',
    500: '#afe25d',
    950: '#000000',
  },
}
SCSS
$custom: #afe25d;
$custom-light: #caeb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe25d",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 93
  },
  "hsl": {
    "h": 83.008,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.85057,
    "c": 0.17051,
    "h": 127.3
  },
  "luminance": 0.64297
}

Semantic roles & 50–950 ramp

primary
#AFE25D
secondary
#653AA9
accent
#14D25D
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #AFE25D

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

Preview Lab → · Contrast checker → · Palette generator →

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