#AFE397#AFE397

#AFE397 is a very light, moderate green. Relative luminance 0.663; OKLCH L 86.1% C 0.115 H 136.1°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#AFE397
RGBrgb(175, 227, 151)
HSLhsl(101, 58%, 74%)
HSVhsv(101, 33%, 89%)
CMYKcmyk(22.9%, 0%, 33.5%, 11%)
CIE-LABlab(85.14, -30.37, 31.87)
CIE-LCHlch(85.14, 44.02, 133.62°)
OKLaboklab(86.12% -0.0828 0.0796)
OKLCHoklch(86.12% 0.115 136.1)
XYZxyz(50.7328, 66.2852, 39.3935)
Luminance0.6629 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE397 #CB97E3
analogous
#D5E397 #AFE397 #97E3A5
triadic
#AFE397 #97AFE3 #E397AF
tetradic
#AFE397 #97D5E3 #CB97E3 #E3A597
square
#AFE397 #97D5E3 #CB97E3 #E3A597
split-complementary
#AFE397 #A597E3 #E397D5
monochromatic
#65C937 #8AD667 #AFE397 #D4F0C7 #ECF9E7

Accessibility & contrast

On white

1.47
#AFE397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#AFE397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE397
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE397#FFFFFF#000000##000000
##AFE3971.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D892
Deuteranopia (green-blind)
#E0D39B
Tritanopia (blue-blind)
#AEDECF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe397;
/* rgb */ color: rgb(175, 227, 151);
/* oklch */ color: oklch(86.1% 0.115 136.1);
Tailwind
colors: {
  custom: {
    50: '#c8ecb6',
    500: '#afe397',
    950: '#000000',
  },
}
SCSS
$custom: #afe397;
$custom-light: #c8ecb6;
$custom-dark: #000000;
JSON
{
  "hex": "#afe397",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 101.053,
    "s": 57.576,
    "l": 74.118
  },
  "oklch": {
    "l": 0.86123,
    "c": 0.11483,
    "h": 136.1
  },
  "luminance": 0.66286
}

Semantic roles & 50–950 ramp

primary
#AFE397
secondary
#A062BC
accent
#20C591
background
#FDFEFD
surface
#F9FDF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFE397

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

Preview Lab → · Contrast checker → · Palette generator →

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