#AFE45A#AFE45A

#AFE45A is a very light, vivid yellow-green. Relative luminance 0.653; OKLCH L 85.5% C 0.176 H 127.5°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#AFE45A
RGBrgb(175, 228, 90)
HSLhsl(83, 72%, 62%)
HSVhsv(83, 61%, 89%)
CMYKcmyk(23.2%, 0%, 60.5%, 10.6%)
CIE-LABlab(84.66, -37.73, 60.25)
CIE-LCHlch(84.66, 71.09, 122.06°)
OKLaboklab(85.48% -0.1069 0.1392)
OKLCHoklch(85.48% 0.176 127.5)
XYZxyz(47.2680, 65.3381, 19.7921)
Luminance0.6534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE45A #8F5AE4
analogous
#E4D45A #AFE45A #6AE45A
triadic
#AFE45A #5AAFE4 #E45AAF
tetradic
#AFE45A #5AE4D4 #8F5AE4 #E45A6A
square
#AFE45A #5AE4D4 #8F5AE4 #E45A6A
split-complementary
#AFE45A #5A6AE4 #D45AE4
monochromatic
#72A81C #96DB25 #AFE45A #C9ED8F #E2F5C3

Accessibility & contrast

On white

1.49
#AFE45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#AFE45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE45A
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE45A#FFFFFF#000000##000000
##AFE45A1.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD64A
Deuteranopia (green-blind)
#E7D264
Tritanopia (blue-blind)
#B5DAC7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe45a;
/* rgb */ color: rgb(175, 228, 90);
/* oklch */ color: oklch(85.5% 0.176 127.5);
Tailwind
colors: {
  custom: {
    50: '#caec8e',
    500: '#afe45a',
    950: '#000000',
  },
}
SCSS
$custom: #afe45a;
$custom-light: #caec8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe45a",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 90
  },
  "hsl": {
    "h": 83.043,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85484,
    "c": 0.17552,
    "h": 127.5
  },
  "luminance": 0.65339
}

Semantic roles & 50–950 ramp

primary
#AFE45A
secondary
#6438AA
accent
#12D45C
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #AFE45A

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

Preview Lab → · Contrast checker → · Palette generator →

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