#AFE698#AFE698

#AFE698 is a very light, moderate green. Relative luminance 0.680; OKLCH L 86.8% C 0.118 H 136.8°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#AFE698
RGBrgb(175, 230, 152)
HSLhsl(102, 61%, 75%)
HSVhsv(102, 34%, 90%)
CMYKcmyk(23.9%, 0%, 33.9%, 9.8%)
CIE-LABlab(85.99, -31.63, 32.49)
CIE-LCHlch(85.99, 45.34, 134.23°)
OKLaboklab(86.81% -0.0862 0.0811)
OKLCHoklch(86.81% 0.118 136.8)
XYZxyz(51.6421, 67.9731, 40.0989)
Luminance0.6797 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE698 #CF98E6
analogous
#D6E698 #AFE698 #98E6A8
triadic
#AFE698 #98AFE6 #E698AF
tetradic
#AFE698 #98D6E6 #CF98E6 #E6A898
square
#AFE698 #98D6E6 #CF98E6 #E6A898
split-complementary
#AFE698 #A898E6 #E698D6
monochromatic
#62CE36 #89DA67 #AFE698 #D5F2C9 #ECF9E6

Accessibility & contrast

On white

1.44
#AFE698 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#AFE698 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE698
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE698#FFFFFF#000000##000000
##AFE6981.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBDA93
Deuteranopia (green-blind)
#E3D59C
Tritanopia (blue-blind)
#AEE1D2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe698;
/* rgb */ color: rgb(175, 230, 152);
/* oklch */ color: oklch(86.8% 0.118 136.8);
Tailwind
colors: {
  custom: {
    50: '#c8eeb7',
    500: '#afe698',
    950: '#000000',
  },
}
SCSS
$custom: #afe698;
$custom-light: #c8eeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#afe698",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 152
  },
  "hsl": {
    "h": 102.308,
    "s": 60.937,
    "l": 74.902
  },
  "oklch": {
    "l": 0.86814,
    "c": 0.11837,
    "h": 136.8
  },
  "luminance": 0.67975
}

Semantic roles & 50–950 ramp

primary
#AFE698
secondary
#A462C0
accent
#1DC996
background
#FDFFFD
surface
#F9FEF8
border
#D2D6D1
text
#131611
muted
#828581

Preview Lab

Preview with #AFE698

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

Preview Lab → · Contrast checker → · Palette generator →

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