#AFDF97#AFDF97

#AFDF97 is a very light, moderate green. Relative luminance 0.641; OKLCH L 85.2% C 0.109 H 135.6°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#AFDF97
RGBrgb(175, 223, 151)
HSLhsl(100, 53%, 73%)
HSVhsv(100, 32%, 87%)
CMYKcmyk(21.5%, 0%, 32.3%, 12.5%)
CIE-LABlab(84.03, -28.47, 30.39)
CIE-LCHlch(84.03, 41.64, 133.14°)
OKLaboklab(85.23% -0.0775 0.0761)
OKLCHoklch(85.23% 0.109 135.6)
XYZxyz(49.6515, 64.1225, 39.0331)
Luminance0.6412 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF97 #C797DF
analogous
#D3DF97 #AFDF97 #97DFA3
triadic
#AFDF97 #97AFDF #DF97AF
tetradic
#AFDF97 #97D3DF #C797DF #DFA397
square
#AFDF97 #97D3DF #C797DF #DFA397
split-complementary
#AFDF97 #A397DF #DF97D3
monochromatic
#68C03B #8BD168 #AFDF97 #D3EDC6 #EDF8E8

Accessibility & contrast

On white

1.52
#AFDF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#AFDF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF97
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF97#FFFFFF#000000##000000
##AFDF971.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D492
Deuteranopia (green-blind)
#DDD09B
Tritanopia (blue-blind)
#AFDACC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afdf97;
/* rgb */ color: rgb(175, 223, 151);
/* oklch */ color: oklch(85.2% 0.109 135.6);
Tailwind
colors: {
  custom: {
    50: '#c8e9b6',
    500: '#afdf97',
    950: '#000000',
  },
}
SCSS
$custom: #afdf97;
$custom-light: #c8e9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf97",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 100,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.85228,
    "c": 0.10862,
    "h": 135.6
  },
  "luminance": 0.64124
}

Semantic roles & 50–950 ramp

primary
#AFDF97
secondary
#9B63B7
accent
#25C08D
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFDF97

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

Preview Lab → · Contrast checker → · Palette generator →

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