#AFDF98#AFDF98

#AFDF98 is a very light, moderate green. Relative luminance 0.642; OKLCH L 85.2% C 0.108 H 135.8°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#AFDF98
RGBrgb(175, 223, 152)
HSLhsl(101, 53%, 74%)
HSVhsv(101, 32%, 87%)
CMYKcmyk(21.5%, 0%, 31.8%, 12.5%)
CIE-LABlab(84.05, -28.33, 29.90)
CIE-LCHlch(84.05, 41.19, 133.45°)
OKLaboklab(85.25% -0.0771 0.0749)
OKLCHoklch(85.25% 0.108 135.8)
XYZxyz(49.7331, 64.1551, 39.4626)
Luminance0.6416 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF98 #C898DF
analogous
#D2DF98 #AFDF98 #98DFA4
triadic
#AFDF98 #98AFDF #DF98AF
tetradic
#AFDF98 #98D2DF #C898DF #DFA498
square
#AFDF98 #98D2DF #C898DF #DFA498
split-complementary
#AFDF98 #A498DF #DF98D2
monochromatic
#67C13C #8BD069 #AFDF98 #D3EEC7 #EDF8E8

Accessibility & contrast

On white

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

On black

13.83
#AFDF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF98
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF98#FFFFFF#000000##000000
##AFDF981.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D493
Deuteranopia (green-blind)
#DDD09C
Tritanopia (blue-blind)
#AEDACD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afdf98;
/* rgb */ color: rgb(175, 223, 152);
/* oklch */ color: oklch(85.2% 0.108 135.8);
Tailwind
colors: {
  custom: {
    50: '#c8e9b7',
    500: '#afdf98',
    950: '#000000',
  },
}
SCSS
$custom: #afdf98;
$custom-light: #c8e9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf98",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 152
  },
  "hsl": {
    "h": 100.563,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.85248,
    "c": 0.10752,
    "h": 135.8
  },
  "luminance": 0.64156
}

Semantic roles & 50–950 ramp

primary
#AFDF98
secondary
#9C64B7
accent
#25C08E
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFDF98

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

Preview Lab → · Contrast checker → · Palette generator →

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