#AFE15C#AFE15C

#AFE15C is a very light, vivid yellow-green. Relative luminance 0.637; OKLCH L 84.8% C 0.170 H 127.1°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#AFE15C
RGBrgb(175, 225, 92)
HSLhsl(83, 69%, 62%)
HSVhsv(83, 59%, 88%)
CMYKcmyk(22.2%, 0%, 59.1%, 11.8%)
CIE-LABlab(83.83, -36.21, 58.48)
CIE-LCHlch(83.83, 68.78, 121.77°)
OKLaboklab(84.82% -0.1025 0.1357)
OKLCHoklch(84.82% 0.17 127.1)
XYZxyz(46.5361, 63.7364, 19.9737)
Luminance0.6374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE15C #8E5CE1
analogous
#E1D05C #AFE15C #6DE15C
triadic
#AFE15C #5CAFE1 #E15CAF
tetradic
#AFE15C #5CE1D0 #8E5CE1 #E15C6D
square
#AFE15C #5CE1D0 #8E5CE1 #E15C6D
split-complementary
#AFE15C #5C6DE1 #D05CE1
monochromatic
#72A41E #96D728 #AFE15C #C8EB90 #E2F4C3

Accessibility & contrast

On white

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

On black

13.75
#AFE15C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE15C
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE15C#FFFFFF#000000##000000
##AFE15C1.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34D
Deuteranopia (green-blind)
#E5D065
Tritanopia (blue-blind)
#B5D7C4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe15c;
/* rgb */ color: rgb(175, 225, 92);
/* oklch */ color: oklch(84.8% 0.170 127.1);
Tailwind
colors: {
  custom: {
    50: '#caea8f',
    500: '#afe15c',
    950: '#000000',
  },
}
SCSS
$custom: #afe15c;
$custom-light: #caea8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe15c",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 92
  },
  "hsl": {
    "h": 82.556,
    "s": 68.912,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84818,
    "c": 0.17004,
    "h": 127.1
  },
  "luminance": 0.63737
}

Semantic roles & 50–950 ramp

primary
#AFE15C
secondary
#633AA7
accent
#15D15B
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #AFE15C

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

Preview Lab → · Contrast checker → · Palette generator →

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