#AFD783#AFD783

#AFD783 is a very light, moderate yellow-green. Relative luminance 0.594; OKLCH L 83.1% C 0.118 H 129.4°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#AFD783
RGBrgb(175, 215, 131)
HSLhsl(89, 51%, 68%)
HSVhsv(89, 39%, 84%)
CMYKcmyk(18.6%, 0%, 39.1%, 15.7%)
CIE-LABlab(81.49, -27.42, 37.22)
CIE-LCHlch(81.49, 46.23, 126.37°)
OKLaboklab(83.08% -0.0752 0.0915)
OKLCHoklch(83.08% 0.118 129.4)
XYZxyz(46.0757, 59.3528, 30.4971)
Luminance0.5935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD783 #AB83D7
analogous
#D7D583 #AFD783 #85D783
triadic
#AFD783 #83AFD7 #D783AF
tetradic
#AFD783 #83D7D5 #AB83D7 #D78385
square
#AFD783 #83D7D5 #AB83D7 #D78385
split-complementary
#AFD783 #8385D7 #D583D7
monochromatic
#73A937 #91C855 #AFD783 #CDE6B1 #EBF5E0

Accessibility & contrast

On white

1.63
#AFD783 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#AFD783 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD783
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD783#FFFFFF#000000##000000
##AFD7831.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECC7D
Deuteranopia (green-blind)
#D9CA87
Tritanopia (blue-blind)
#B2D0C2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd783;
/* rgb */ color: rgb(175, 215, 131);
/* oklch */ color: oklch(83.1% 0.118 129.4);
Tailwind
colors: {
  custom: {
    50: '#c8e3a8',
    500: '#afd783',
    950: '#000000',
  },
}
SCSS
$custom: #afd783;
$custom-light: #c8e3a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afd783",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 131
  },
  "hsl": {
    "h": 88.571,
    "s": 51.22,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83079,
    "c": 0.11842,
    "h": 129.4
  },
  "luminance": 0.59354
}

Semantic roles & 50–950 ramp

primary
#AFD783
secondary
#7D52AD
accent
#27BF6F
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#131510
muted
#828480

Preview Lab

Preview with #AFD783

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

Preview Lab → · Contrast checker → · Palette generator →

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