#AFDF85#AFDF85

#AFDF85 is a very light, vivid yellow-green. Relative luminance 0.636; OKLCH L 84.9% C 0.128 H 131.5°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#AFDF85
RGBrgb(175, 223, 133)
HSLhsl(92, 58%, 70%)
HSVhsv(92, 40%, 87%)
CMYKcmyk(21.5%, 0%, 40.4%, 12.5%)
CIE-LABlab(83.75, -30.95, 39.13)
CIE-LCHlch(83.75, 49.89, 128.34°)
OKLaboklab(84.91% -0.0849 0.0959)
OKLCHoklch(84.91% 0.128 131.5)
XYZxyz(48.2997, 63.5818, 31.9136)
Luminance0.6358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF85 #B585DF
analogous
#DCDF85 #AFDF85 #85DF88
triadic
#AFDF85 #85AFDF #DF85AF
tetradic
#AFDF85 #85DCDF #B585DF #DF8885
square
#AFDF85 #85DCDF #B585DF #DF8885
split-complementary
#AFDF85 #8885DF #DF85DC
monochromatic
#70B931 #8FD255 #AFDF85 #CFECB5 #EFF8E6

Accessibility & contrast

On white

1.53
#AFDF85 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#AFDF85 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF85
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF85#FFFFFF#000000##000000
##AFDF851.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D37E
Deuteranopia (green-blind)
#DFD08A
Tritanopia (blue-blind)
#B1D8C9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afdf85;
/* rgb */ color: rgb(175, 223, 133);
/* oklch */ color: oklch(84.9% 0.128 131.5);
Tailwind
colors: {
  custom: {
    50: '#c8e9a9',
    500: '#afdf85',
    950: '#000000',
  },
}
SCSS
$custom: #afdf85;
$custom-light: #c8e9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf85",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 133
  },
  "hsl": {
    "h": 92,
    "s": 58.442,
    "l": 69.804
  },
  "oklch": {
    "l": 0.84909,
    "c": 0.12814,
    "h": 131.5
  },
  "luminance": 0.63583
}

Semantic roles & 50–950 ramp

primary
#AFDF85
secondary
#8752B6
accent
#1FC678
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFDF85

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

Preview Lab → · Contrast checker → · Palette generator →

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