#AFE985#AFE985

#AFE985 is a very light, vivid yellow-green. Relative luminance 0.691; OKLCH L 87.2% C 0.143 H 133.2°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#AFE985
RGBrgb(175, 233, 133)
HSLhsl(95, 69%, 72%)
HSVhsv(95, 43%, 91%)
CMYKcmyk(24.9%, 0%, 42.9%, 8.6%)
CIE-LABlab(86.55, -35.57, 42.69)
CIE-LCHlch(86.55, 55.57, 129.80°)
OKLaboklab(87.17% -0.0978 0.1041)
OKLCHoklch(87.17% 0.143 133.2)
XYZxyz(51.0508, 69.0839, 32.8306)
Luminance0.6908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE985 #BF85E9
analogous
#E1E985 #AFE985 #85E98D
triadic
#AFE985 #85AFE9 #E985AF
tetradic
#AFE985 #85E1E9 #BF85E9 #E98D85
square
#AFE985 #85E1E9 #BF85E9 #E98D85
split-complementary
#AFE985 #8D85E9 #E985E1
monochromatic
#6CCE25 #8DE051 #AFE985 #D1F2B9 #EEFAE5

Accessibility & contrast

On white

1.42
#AFE985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.82
#AFE985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE985
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE985#FFFFFF#000000##000000
##AFE9851.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC7D
Deuteranopia (green-blind)
#E8D78B
Tritanopia (blue-blind)
#B0E2D1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afe985;
/* rgb */ color: rgb(175, 233, 133);
/* oklch */ color: oklch(87.2% 0.143 133.2);
Tailwind
colors: {
  custom: {
    50: '#c9f0aa',
    500: '#afe985',
    950: '#000000',
  },
}
SCSS
$custom: #afe985;
$custom-light: #c9f0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#afe985",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 133
  },
  "hsl": {
    "h": 94.8,
    "s": 69.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.87166,
    "c": 0.14281,
    "h": 133.2
  },
  "luminance": 0.69085
}

Semantic roles & 50–950 ramp

primary
#AFE985
secondary
#9250C2
accent
#14D182
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE985

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

Preview Lab → · Contrast checker → · Palette generator →

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