#AFE290#AFE290

#AFE290 is a very light, vivid yellow-green. Relative luminance 0.655; OKLCH L 85.8% C 0.121 H 134.3°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#AFE290
RGBrgb(175, 226, 144)
HSLhsl(97, 59%, 73%)
HSVhsv(97, 36%, 89%)
CMYKcmyk(22.6%, 0%, 36.3%, 11.4%)
CIE-LABlab(84.75, -30.89, 34.90)
CIE-LCHlch(84.75, 46.61, 131.51°)
OKLaboklab(85.77% -0.0844 0.0865)
OKLCHoklch(85.77% 0.121 134.3)
XYZxyz(49.9085, 65.5191, 36.3971)
Luminance0.6552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE290 #C390E2
analogous
#D8E290 #AFE290 #90E29A
triadic
#AFE290 #90AFE2 #E290AF
tetradic
#AFE290 #90D8E2 #C390E2 #E29A90
square
#AFE290 #90D8E2 #C390E2 #E29A90
split-complementary
#AFE290 #9A90E2 #E290D8
monochromatic
#6AC433 #8CD55F #AFE290 #D2EFC1 #EEF9E7

Accessibility & contrast

On white

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

On black

14.10
#AFE290 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE290
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE290#FFFFFF#000000##000000
##AFE2901.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D68A
Deuteranopia (green-blind)
#E0D294
Tritanopia (blue-blind)
#AFDCCD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe290;
/* rgb */ color: rgb(175, 226, 144);
/* oklch */ color: oklch(85.8% 0.121 134.3);
Tailwind
colors: {
  custom: {
    50: '#c8ebb1',
    500: '#afe290',
    950: '#000000',
  },
}
SCSS
$custom: #afe290;
$custom-light: #c8ebb1;
$custom-dark: #000000;
JSON
{
  "hex": "#afe290",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 144
  },
  "hsl": {
    "h": 97.317,
    "s": 58.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.85771,
    "c": 0.12087,
    "h": 134.3
  },
  "luminance": 0.6552
}

Semantic roles & 50–950 ramp

primary
#AFE290
secondary
#975CBB
accent
#1FC687
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131611
muted
#828481

Preview Lab

Preview with #AFE290

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

Preview Lab → · Contrast checker → · Palette generator →

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