#AFDB98#AFDB98

#AFDB98 is a very light, moderate yellow-green. Relative luminance 0.620; OKLCH L 84.4% C 0.101 H 135.2°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#AFDB98
RGBrgb(175, 219, 152)
HSLhsl(99, 48%, 73%)
HSVhsv(99, 31%, 86%)
CMYKcmyk(20.1%, 0%, 30.6%, 14.1%)
CIE-LABlab(82.94, -26.41, 28.41)
CIE-LCHlch(82.94, 38.79, 132.91°)
OKLaboklab(84.36% -0.0718 0.0714)
OKLCHoklch(84.36% 0.101 135.2)
XYZxyz(48.6770, 62.0429, 39.1106)
Luminance0.6204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDB98 #C498DB
analogous
#D0DB98 #AFDB98 #98DBA2
triadic
#AFDB98 #98AFDB #DB98AF
tetradic
#AFDB98 #98D0DB #C498DB #DBA298
square
#AFDB98 #98D0DB #C498DB #DBA298
split-complementary
#AFDB98 #A298DB #DB98D0
monochromatic
#6AB840 #8CCB6B #AFDB98 #D2EBC5 #EDF7E8

Accessibility & contrast

On white

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

On black

13.41
#AFDB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDB98
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDB98#FFFFFF#000000##000000
##AFDB981.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afdb98;
/* rgb */ color: rgb(175, 219, 152);
/* oklch */ color: oklch(84.4% 0.101 135.2);
Tailwind
colors: {
  custom: {
    50: '#c8e6b6',
    500: '#afdb98',
    950: '#000000',
  },
}
SCSS
$custom: #afdb98;
$custom-light: #c8e6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#afdb98",
  "rgb": {
    "r": 175,
    "g": 219,
    "b": 152
  },
  "hsl": {
    "h": 99.403,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.84356,
    "c": 0.10126,
    "h": 135.2
  },
  "luminance": 0.62044
}

Semantic roles & 50–950 ramp

primary
#AFDB98
secondary
#9865B3
accent
#2ABB8A
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFDB98

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

Preview Lab → · Contrast checker → · Palette generator →

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