#AFE783#AFE783

#AFE783 is a very light, vivid yellow-green. Relative luminance 0.679; OKLCH L 86.7% C 0.142 H 132.6°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#AFE783
RGBrgb(175, 231, 131)
HSLhsl(94, 68%, 71%)
HSVhsv(94, 43%, 91%)
CMYKcmyk(24.2%, 0%, 43.3%, 9.4%)
CIE-LABlab(85.96, -34.90, 42.93)
CIE-LCHlch(85.96, 55.33, 129.12°)
OKLaboklab(86.68% -0.096 0.1045)
OKLCHoklch(86.68% 0.142 132.6)
XYZxyz(50.3509, 67.9032, 31.9222)
Luminance0.6790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE783 #BB83E7
analogous
#E1E783 #AFE783 #83E789
triadic
#AFE783 #83AFE7 #E783AF
tetradic
#AFE783 #83E1E7 #BB83E7 #E78983
square
#AFE783 #83E1E7 #BB83E7 #E78983
split-complementary
#AFE783 #8983E7 #E783E1
monochromatic
#6EC927 #8EDD50 #AFE783 #D0F1B6 #EEFAE5

Accessibility & contrast

On white

1.44
#AFE783 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.58
#AFE783 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE783
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE783#FFFFFF#000000##000000
##AFE7831.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA7B
Deuteranopia (green-blind)
#E6D589
Tritanopia (blue-blind)
#B0E0CF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe783;
/* rgb */ color: rgb(175, 231, 131);
/* oklch */ color: oklch(86.7% 0.142 132.6);
Tailwind
colors: {
  custom: {
    50: '#c9efa8',
    500: '#afe783',
    950: '#000000',
  },
}
SCSS
$custom: #afe783;
$custom-light: #c9efa8;
$custom-dark: #000000;
JSON
{
  "hex": "#afe783",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 131
  },
  "hsl": {
    "h": 93.6,
    "s": 67.568,
    "l": 70.98
  },
  "oklch": {
    "l": 0.86683,
    "c": 0.14194,
    "h": 132.6
  },
  "luminance": 0.67904
}

Semantic roles & 50–950 ramp

primary
#AFE783
secondary
#8E4EC0
accent
#16CF7E
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE783

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

Preview Lab → · Contrast checker → · Palette generator →

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