#AFD782#AFD782

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

Color values

HEX#AFD782
RGBrgb(175, 215, 130)
HSLhsl(88, 52%, 68%)
HSVhsv(88, 40%, 84%)
CMYKcmyk(18.6%, 0%, 39.5%, 15.7%)
CIE-LABlab(81.47, -27.54, 37.71)
CIE-LCHlch(81.47, 46.69, 126.15°)
OKLaboklab(83.06% -0.0756 0.0926)
OKLCHoklch(83.06% 0.12 129.2)
XYZxyz(46.0083, 59.3259, 30.1419)
Luminance0.5933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD782 #AA82D7
analogous
#D7D482 #AFD782 #85D782
triadic
#AFD782 #82AFD7 #D782AF
tetradic
#AFD782 #82D7D4 #AA82D7 #D78285
square
#AFD782 #82D7D4 #AA82D7 #D78285
split-complementary
#AFD782 #8285D7 #D482D7
monochromatic
#73A936 #91C854 #AFD782 #CDE6B0 #EAF5DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD782#FFFFFF#000000##000000
##AFD7821.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)
#DFCC7C
Deuteranopia (green-blind)
#D9CA87
Tritanopia (blue-blind)
#B2D0C2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd782;
/* rgb */ color: rgb(175, 215, 130);
/* oklch */ color: oklch(83.1% 0.120 129.2);
Tailwind
colors: {
  custom: {
    50: '#c8e3a7',
    500: '#afd782',
    950: '#000000',
  },
}
SCSS
$custom: #afd782;
$custom-light: #c8e3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#afd782",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 130
  },
  "hsl": {
    "h": 88.235,
    "s": 51.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83063,
    "c": 0.11951,
    "h": 129.2
  },
  "luminance": 0.59327
}

Semantic roles & 50–950 ramp

primary
#AFD782
secondary
#7C51AC
accent
#27BF6E
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD782

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

Preview Lab → · Contrast checker → · Palette generator →

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