#AFE398#AFE398

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

Color values

HEX#AFE398
RGBrgb(175, 227, 152)
HSLhsl(102, 57%, 74%)
HSVhsv(102, 33%, 89%)
CMYKcmyk(22.9%, 0%, 33%, 11%)
CIE-LABlab(85.16, -30.22, 31.38)
CIE-LCHlch(85.16, 43.57, 133.92°)
OKLaboklab(86.14% -0.0824 0.0784)
OKLCHoklch(86.14% 0.114 136.4)
XYZxyz(50.8144, 66.3178, 39.8230)
Luminance0.6632 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE398 #CC98E3
analogous
#D5E398 #AFE398 #98E3A7
triadic
#AFE398 #98AFE3 #E398AF
tetradic
#AFE398 #98D5E3 #CC98E3 #E3A798
square
#AFE398 #98D5E3 #CC98E3 #E3A798
split-complementary
#AFE398 #A798E3 #E398D5
monochromatic
#64C938 #8AD668 #AFE398 #D4F0C8 #ECF8E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE398#FFFFFF#000000##000000
##AFE3981.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)
#E8D893
Deuteranopia (green-blind)
#E0D39C
Tritanopia (blue-blind)
#AEDED0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe398;
/* rgb */ color: rgb(175, 227, 152);
/* oklch */ color: oklch(86.1% 0.114 136.4);
Tailwind
colors: {
  custom: {
    50: '#c8ecb7',
    500: '#afe398',
    950: '#000000',
  },
}
SCSS
$custom: #afe398;
$custom-light: #c8ecb7;
$custom-dark: #000000;
JSON
{
  "hex": "#afe398",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 152
  },
  "hsl": {
    "h": 101.6,
    "s": 57.252,
    "l": 74.314
  },
  "oklch": {
    "l": 0.86142,
    "c": 0.11374,
    "h": 136.4
  },
  "luminance": 0.66319
}

Semantic roles & 50–950 ramp

primary
#AFE398
secondary
#A163BC
accent
#21C592
background
#FDFEFD
surface
#F9FDF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFE398

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

Preview Lab → · Contrast checker → · Palette generator →

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