#AFD97D#AFD97D

#AFD97D is a very light, vivid yellow-green. Relative luminance 0.602; OKLCH L 83.4% C 0.128 H 128.9°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#AFD97D
RGBrgb(175, 217, 125)
HSLhsl(87, 55%, 67%)
HSVhsv(87, 42%, 85%)
CMYKcmyk(19.4%, 0%, 42.4%, 14.9%)
CIE-LABlab(81.96, -29.12, 40.83)
CIE-LCHlch(81.96, 50.15, 125.50°)
OKLaboklab(83.43% -0.0802 0.0995)
OKLCHoklch(83.43% 0.128 128.9)
XYZxyz(46.1932, 60.2196, 28.5879)
Luminance0.6022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD97D #A77DD9
analogous
#D9D57D #AFD97D #81D97D
triadic
#AFD97D #7DAFD9 #D97DAF
tetradic
#AFD97D #7DD9D5 #A77DD9 #D97D81
square
#AFD97D #7DD9D5 #A77DD9 #D97D81
split-complementary
#AFD97D #7D81D9 #D57DD9
monochromatic
#73AA32 #92CB4E #AFD97D #CCE7AC #E9F5DC

Accessibility & contrast

On white

1.61
#AFD97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#AFD97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD97D
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD97D#FFFFFF#000000##000000
##AFD97D1.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CE76
Deuteranopia (green-blind)
#DBCB82
Tritanopia (blue-blind)
#B3D2C3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afd97d;
/* rgb */ color: rgb(175, 217, 125);
/* oklch */ color: oklch(83.4% 0.128 128.9);
Tailwind
colors: {
  custom: {
    50: '#c8e5a4',
    500: '#afd97d',
    950: '#000000',
  },
}
SCSS
$custom: #afd97d;
$custom-light: #c8e5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afd97d",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 125
  },
  "hsl": {
    "h": 87.391,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83431,
    "c": 0.1278,
    "h": 128.9
  },
  "luminance": 0.6022
}

Semantic roles & 50–950 ramp

primary
#AFD97D
secondary
#794DAD
accent
#23C26C
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD97D

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

Preview Lab → · Contrast checker → · Palette generator →

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