#AFDC98#AFDC98

#AFDC98 is a very light, moderate yellow-green. Relative luminance 0.626; OKLCH L 84.6% C 0.103 H 135.4°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#AFDC98
RGBrgb(175, 220, 152)
HSLhsl(100, 49%, 73%)
HSVhsv(100, 31%, 86%)
CMYKcmyk(20.5%, 0%, 30.9%, 13.7%)
CIE-LABlab(83.21, -26.89, 28.78)
CIE-LCHlch(83.21, 39.39, 133.06°)
OKLaboklab(84.58% -0.0732 0.0723)
OKLCHoklch(84.58% 0.103 135.4)
XYZxyz(48.9386, 62.5663, 39.1978)
Luminance0.6257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC98 #C598DC
analogous
#D1DC98 #AFDC98 #98DCA3
triadic
#AFDC98 #98AFDC #DC98AF
tetradic
#AFDC98 #98D1DC #C598DC #DCA398
square
#AFDC98 #98D1DC #C598DC #DCA398
split-complementary
#AFDC98 #A398DC #DC98D1
monochromatic
#69BA3F #8CCC6A #AFDC98 #D2ECC6 #EDF7E8

Accessibility & contrast

On white

1.55
#AFDC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#AFDC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC98
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC98#FFFFFF#000000##000000
##AFDC981.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D294
Deuteranopia (green-blind)
#DACE9B
Tritanopia (blue-blind)
#AFD7CA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afdc98;
/* rgb */ color: rgb(175, 220, 152);
/* oklch */ color: oklch(84.6% 0.103 135.4);
Tailwind
colors: {
  custom: {
    50: '#c8e7b6',
    500: '#afdc98',
    950: '#000000',
  },
}
SCSS
$custom: #afdc98;
$custom-light: #c8e7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc98",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 152
  },
  "hsl": {
    "h": 99.706,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.84579,
    "c": 0.10283,
    "h": 135.4
  },
  "luminance": 0.62567
}

Semantic roles & 50–950 ramp

primary
#AFDC98
secondary
#9964B4
accent
#29BD8B
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFDC98

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

Preview Lab → · Contrast checker → · Palette generator →

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