#AFE225#AFE225

#AFE225 is a very light, highly saturated yellow-green. Relative luminance 0.636; OKLCH L 84.7% C 0.204 H 124.9°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#AFE225
RGBrgb(175, 226, 37)
HSLhsl(76, 77%, 52%)
HSVhsv(76, 84%, 89%)
CMYKcmyk(22.6%, 0%, 83.6%, 11.4%)
CIE-LABlab(83.78, -39.77, 77.08)
CIE-LCHlch(83.78, 86.73, 117.29°)
OKLaboklab(84.67% -0.1165 0.1671)
OKLCHoklch(84.67% 0.204 124.9)
XYZxyz(45.2100, 63.6397, 11.6518)
Luminance0.6364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE225 #5825E2
analogous
#E2B625 #AFE225 #51E225
triadic
#AFE225 #25AFE2 #E225AF
tetradic
#AFE225 #25E2B6 #5825E2 #E22551
square
#AFE225 #25E2B6 #5825E2 #E22551
split-complementary
#AFE225 #2551E2 #B625E2
monochromatic
#5F7C11 #88B218 #AFE225 #C3E95B #D7F091

Accessibility & contrast

On white

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

On black

13.73
#AFE225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE225
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE225#FFFFFF#000000##000000
##AFE2251.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD300
Deuteranopia (green-blind)
#E8D03C
Tritanopia (blue-blind)
#B8D7C1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe225;
/* rgb */ color: rgb(175, 226, 37);
/* oklch */ color: oklch(84.7% 0.204 124.9);
Tailwind
colors: {
  custom: {
    50: '#cceb74',
    500: '#afe225',
    950: '#000000',
  },
}
SCSS
$custom: #afe225;
$custom-light: #cceb74;
$custom-dark: #000000;
JSON
{
  "hex": "#afe225",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 37
  },
  "hsl": {
    "h": 76.19,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.84671,
    "c": 0.20369,
    "h": 124.9
  },
  "luminance": 0.6364
}

Semantic roles & 50–950 ramp

primary
#AFE225
secondary
#402883
accent
#35F368
background
#FEFEFB
surface
#FBFDF1
border
#D4D5CB
text
#141609
muted
#83847D

Preview Lab

Preview with #AFE225

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

Preview Lab → · Contrast checker → · Palette generator →

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