#AFEB97#AFEB97

#AFEB97 is a very light, vivid green. Relative luminance 0.708; OKLCH L 87.9% C 0.127 H 137.1°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#AFEB97
RGBrgb(175, 235, 151)
HSLhsl(103, 68%, 76%)
HSVhsv(103, 36%, 92%)
CMYKcmyk(25.5%, 0%, 35.7%, 7.8%)
CIE-LABlab(87.37, -34.09, 34.82)
CIE-LCHlch(87.37, 48.73, 134.39°)
OKLaboklab(87.92% -0.0931 0.0865)
OKLCHoklch(87.92% 0.127 137.1)
XYZxyz(52.9719, 70.7634, 40.1399)
Luminance0.7077 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB97 #D397EB
analogous
#D9EB97 #AFEB97 #97EBA9
triadic
#AFEB97 #97AFEB #EB97AF
tetradic
#AFEB97 #97D9EB #D397EB #EBA997
square
#AFEB97 #97D9EB #D397EB #EBA997
split-complementary
#AFEB97 #A997EB #EB97D9
monochromatic
#60D730 #88E164 #AFEB97 #D6F5CA #EBFAE5

Accessibility & contrast

On white

1.39
#AFEB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.15
#AFEB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB97
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB97#FFFFFF#000000##000000
##AFEB971.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DE91
Deuteranopia (green-blind)
#E7D99C
Tritanopia (blue-blind)
#ADE5D6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #afeb97;
/* rgb */ color: rgb(175, 235, 151);
/* oklch */ color: oklch(87.9% 0.127 137.1);
Tailwind
colors: {
  custom: {
    50: '#c8f1b6',
    500: '#afeb97',
    950: '#000000',
  },
}
SCSS
$custom: #afeb97;
$custom-light: #c8f1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb97",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 151
  },
  "hsl": {
    "h": 102.857,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.87918,
    "c": 0.12707,
    "h": 137.1
  },
  "luminance": 0.70765
}

Semantic roles & 50–950 ramp

primary
#AFEB97
secondary
#A960C6
accent
#16D09B
background
#FDFFFD
surface
#F9FEF8
border
#D2D6D1
text
#131711
muted
#828581

Preview Lab

Preview with #AFEB97

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

Preview Lab → · Contrast checker → · Palette generator →

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