#AFE245#AFE245

#AFE245 is a very light, vivid yellow-green. Relative luminance 0.639; OKLCH L 84.8% C 0.188 H 125.9°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#AFE245
RGBrgb(175, 226, 69)
HSLhsl(79, 73%, 58%)
HSVhsv(79, 69%, 89%)
CMYKcmyk(22.6%, 0%, 69.5%, 11.4%)
CIE-LABlab(83.93, -38.32, 67.76)
CIE-LCHlch(83.93, 77.84, 119.49°)
OKLaboklab(84.85% -0.1103 0.1523)
OKLCHoklch(84.85% 0.188 125.9)
XYZxyz(45.9500, 63.9357, 15.5490)
Luminance0.6394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE245 #7845E2
analogous
#E2C645 #AFE245 #61E245
triadic
#AFE245 #45AFE2 #E245AF
tetradic
#AFE245 #45E2C6 #7845E2 #E24561
square
#AFE245 #45E2C6 #7845E2 #E24561
split-complementary
#AFE245 #4561E2 #C645E2
monochromatic
#6C9517 #93CA20 #AFE245 #C6EA7A #DDF3AF

Accessibility & contrast

On white

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

On black

13.79
#AFE245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE245
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE245#FFFFFF#000000##000000
##AFE2451.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED32B
Deuteranopia (green-blind)
#E7D152
Tritanopia (blue-blind)
#B6D7C3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe245;
/* rgb */ color: rgb(175, 226, 69);
/* oklch */ color: oklch(84.8% 0.188 125.9);
Tailwind
colors: {
  custom: {
    50: '#cbeb82',
    500: '#afe245',
    950: '#000000',
  },
}
SCSS
$custom: #afe245;
$custom-light: #cbeb82;
$custom-dark: #000000;
JSON
{
  "hex": "#afe245",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 69
  },
  "hsl": {
    "h": 79.49,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84845,
    "c": 0.18805,
    "h": 125.9
  },
  "luminance": 0.63936
}

Semantic roles & 50–950 ramp

primary
#AFE245
secondary
#53329A
accent
#38F074
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFE245

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

Preview Lab → · Contrast checker → · Palette generator →

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