#AFE15F#AFE15F

#AFE15F is a very light, vivid yellow-green. Relative luminance 0.638; OKLCH L 84.9% C 0.168 H 127.3°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#AFE15F
RGBrgb(175, 225, 95)
HSLhsl(83, 68%, 63%)
HSVhsv(83, 58%, 88%)
CMYKcmyk(22.2%, 0%, 57.8%, 11.8%)
CIE-LABlab(83.86, -35.95, 57.21)
CIE-LCHlch(83.86, 67.57, 122.15°)
OKLaboklab(84.85% -0.1015 0.1333)
OKLCHoklch(84.85% 0.168 127.3)
XYZxyz(46.6699, 63.7899, 20.6781)
Luminance0.6379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE15F #915FE1
analogous
#E1D25F #AFE15F #6EE15F
triadic
#AFE15F #5FAFE1 #E15FAF
tetradic
#AFE15F #5FE1D2 #915FE1 #E15F6E
square
#AFE15F #5FE1D2 #915FE1 #E15F6E
split-complementary
#AFE15F #5F6EE1 #D25FE1
monochromatic
#72A61F #95D72B #AFE15F #C9EB93 #E3F4C6

Accessibility & contrast

On white

1.53
#AFE15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#AFE15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE15F
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE15F#FFFFFF#000000##000000
##AFE15F1.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD351
Deuteranopia (green-blind)
#E4D068
Tritanopia (blue-blind)
#B5D8C5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe15f;
/* rgb */ color: rgb(175, 225, 95);
/* oklch */ color: oklch(84.9% 0.168 127.3);
Tailwind
colors: {
  custom: {
    50: '#caea91',
    500: '#afe15f',
    950: '#000000',
  },
}
SCSS
$custom: #afe15f;
$custom-light: #caea91;
$custom-dark: #000000;
JSON
{
  "hex": "#afe15f",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 95
  },
  "hsl": {
    "h": 83.077,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.8485,
    "c": 0.16754,
    "h": 127.3
  },
  "luminance": 0.63791
}

Semantic roles & 50–950 ramp

primary
#AFE15F
secondary
#653BA9
accent
#15D05D
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFE15F

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

Preview Lab → · Contrast checker → · Palette generator →

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