#AFDD97#AFDD97

#AFDD97 is a very light, moderate yellow-green. Relative luminance 0.631; OKLCH L 84.8% C 0.105 H 135.2°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#AFDD97
RGBrgb(175, 221, 151)
HSLhsl(99, 51%, 73%)
HSVhsv(99, 32%, 87%)
CMYKcmyk(20.8%, 0%, 31.7%, 13.3%)
CIE-LABlab(83.47, -27.52, 29.65)
CIE-LCHlch(83.47, 40.45, 132.87°)
OKLaboklab(84.78% -0.0749 0.0743)
OKLCHoklch(84.78% 0.106 135.2)
XYZxyz(49.1203, 63.0601, 38.8560)
Luminance0.6306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDD97 #C597DD
analogous
#D2DD97 #AFDD97 #97DDA2
triadic
#AFDD97 #97AFDD #DD97AF
tetradic
#AFDD97 #97D2DD #C597DD #DDA297
square
#AFDD97 #97D2DD #C597DD #DDA297
split-complementary
#AFDD97 #A297DD #DD97D2
monochromatic
#69BC3D #8CCE69 #AFDD97 #D2ECC5 #EDF7E8

Accessibility & contrast

On white

1.54
#AFDD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#AFDD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDD97
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDD97#FFFFFF#000000##000000
##AFDD971.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D392
Deuteranopia (green-blind)
#DBCF9B
Tritanopia (blue-blind)
#AFD8CB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afdd97;
/* rgb */ color: rgb(175, 221, 151);
/* oklch */ color: oklch(84.8% 0.105 135.2);
Tailwind
colors: {
  custom: {
    50: '#c8e7b6',
    500: '#afdd97',
    950: '#000000',
  },
}
SCSS
$custom: #afdd97;
$custom-light: #c8e7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#afdd97",
  "rgb": {
    "r": 175,
    "g": 221,
    "b": 151
  },
  "hsl": {
    "h": 99.429,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.84782,
    "c": 0.1055,
    "h": 135.2
  },
  "luminance": 0.63061
}

Semantic roles & 50–950 ramp

primary
#AFDD97
secondary
#9963B5
accent
#27BE8A
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFDD97

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

Preview Lab → · Contrast checker → · Palette generator →

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