#AFE983#AFE983

#AFE983 is a very light, vivid yellow-green. Relative luminance 0.690; OKLCH L 87.1% C 0.145 H 132.9°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#AFE983
RGBrgb(175, 233, 131)
HSLhsl(94, 70%, 71%)
HSVhsv(94, 44%, 91%)
CMYKcmyk(24.9%, 0%, 43.8%, 8.6%)
CIE-LABlab(86.52, -35.82, 43.63)
CIE-LCHlch(86.52, 56.45, 129.38°)
OKLaboklab(87.14% -0.0986 0.1061)
OKLCHoklch(87.14% 0.145 132.9)
XYZxyz(50.9139, 69.0291, 32.1098)
Luminance0.6903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE983 #BD83E9
analogous
#E2E983 #AFE983 #83E98A
triadic
#AFE983 #83AFE9 #E983AF
tetradic
#AFE983 #83E2E9 #BD83E9 #E98A83
square
#AFE983 #83E2E9 #BD83E9 #E98A83
split-complementary
#AFE983 #8A83E9 #E983E2
monochromatic
#6DCD24 #8DE04F #AFE983 #D1F2B7 #EEFAE5

Accessibility & contrast

On white

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

On black

14.81
#AFE983 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE983
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE983#FFFFFF#000000##000000
##AFE9831.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe983;
/* rgb */ color: rgb(175, 233, 131);
/* oklch */ color: oklch(87.1% 0.145 132.9);
Tailwind
colors: {
  custom: {
    50: '#c9f0a8',
    500: '#afe983',
    950: '#000000',
  },
}
SCSS
$custom: #afe983;
$custom-light: #c9f0a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afe983",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 131
  },
  "hsl": {
    "h": 94.118,
    "s": 69.863,
    "l": 71.373
  },
  "oklch": {
    "l": 0.87135,
    "c": 0.14484,
    "h": 132.9
  },
  "luminance": 0.6903
}

Semantic roles & 50–950 ramp

primary
#AFE983
secondary
#904EC2
accent
#14D280
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE983

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

Preview Lab → · Contrast checker → · Palette generator →

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