#AFDB97#AFDB97

#AFDB97 is a very light, moderate yellow-green. Relative luminance 0.620; OKLCH L 84.3% C 0.102 H 134.9°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#AFDB97
RGBrgb(175, 219, 151)
HSLhsl(99, 49%, 73%)
HSVhsv(99, 31%, 86%)
CMYKcmyk(20.1%, 0%, 31.1%, 14.1%)
CIE-LABlab(82.92, -26.56, 28.90)
CIE-LCHlch(82.92, 39.25, 132.58°)
OKLaboklab(84.34% -0.0723 0.0725)
OKLCHoklch(84.34% 0.102 134.9)
XYZxyz(48.5954, 62.0103, 38.6811)
Luminance0.6201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDB97 #C397DB
analogous
#D1DB97 #AFDB97 #97DBA1
triadic
#AFDB97 #97AFDB #DB97AF
tetradic
#AFDB97 #97D1DB #C397DB #DBA197
square
#AFDB97 #97D1DB #C397DB #DBA197
split-complementary
#AFDB97 #A197DB #DB97D1
monochromatic
#6AB840 #8CCB6A #AFDB97 #D2EBC4 #EEF7E8

Accessibility & contrast

On white

1.57
#AFDB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#AFDB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDB97
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDB97#FFFFFF#000000##000000
##AFDB971.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D193
Deuteranopia (green-blind)
#D9CD9A
Tritanopia (blue-blind)
#AFD6C9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdb97;
/* rgb */ color: rgb(175, 219, 151);
/* oklch */ color: oklch(84.3% 0.102 134.9);
Tailwind
colors: {
  custom: {
    50: '#c8e6b6',
    500: '#afdb97',
    950: '#000000',
  },
}
SCSS
$custom: #afdb97;
$custom-light: #c8e6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#afdb97",
  "rgb": {
    "r": 175,
    "g": 219,
    "b": 151
  },
  "hsl": {
    "h": 98.824,
    "s": 48.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.84336,
    "c": 0.10238,
    "h": 134.9
  },
  "luminance": 0.62011
}

Semantic roles & 50–950 ramp

primary
#AFDB97
secondary
#9764B3
accent
#2ABC88
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFDB97

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

Preview Lab → · Contrast checker → · Palette generator →

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