#AFE198#AFE198

#AFE198 is a very light, moderate green. Relative luminance 0.652; OKLCH L 85.7% C 0.111 H 136.1°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#AFE198
RGBrgb(175, 225, 152)
HSLhsl(101, 55%, 74%)
HSVhsv(101, 32%, 88%)
CMYKcmyk(22.2%, 0%, 32.4%, 11.8%)
CIE-LABlab(84.60, -29.28, 30.64)
CIE-LCHlch(84.60, 42.38, 133.69°)
OKLaboklab(85.69% -0.0797 0.0767)
OKLCHoklch(85.69% 0.111 136.1)
XYZxyz(50.2706, 65.2301, 39.6418)
Luminance0.6523 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE198 #CA98E1
analogous
#D4E198 #AFE198 #98E1A6
triadic
#AFE198 #98AFE1 #E198AF
tetradic
#AFE198 #98D4E1 #CA98E1 #E1A698
square
#AFE198 #98D4E1 #CA98E1 #E1A698
split-complementary
#AFE198 #A698E1 #E198D4
monochromatic
#65C539 #8AD369 #AFE198 #D4EFC7 #EDF8E7

Accessibility & contrast

On white

1.50
#AFE198 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#AFE198 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE198
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE198#FFFFFF#000000##000000
##AFE1981.001.5014.0514.05
#FFFFFF1.501.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D693
Deuteranopia (green-blind)
#DED29C
Tritanopia (blue-blind)
#AEDCCE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe198;
/* rgb */ color: rgb(175, 225, 152);
/* oklch */ color: oklch(85.7% 0.111 136.1);
Tailwind
colors: {
  custom: {
    50: '#c8eab7',
    500: '#afe198',
    950: '#000000',
  },
}
SCSS
$custom: #afe198;
$custom-light: #c8eab7;
$custom-dark: #000000;
JSON
{
  "hex": "#afe198",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 152
  },
  "hsl": {
    "h": 101.096,
    "s": 54.887,
    "l": 73.922
  },
  "oklch": {
    "l": 0.85694,
    "c": 0.11063,
    "h": 136.1
  },
  "luminance": 0.65231
}

Semantic roles & 50–950 ramp

primary
#AFE198
secondary
#9F63BA
accent
#23C290
background
#FDFEFD
surface
#F9FDF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFE198

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

Preview Lab → · Contrast checker → · Palette generator →

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