#AFD382#AFD382

#AFD382 is a very light, moderate yellow-green. Relative luminance 0.573; OKLCH L 82.2% C 0.114 H 128.2°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#AFD382
RGBrgb(175, 211, 130)
HSLhsl(87, 48%, 67%)
HSVhsv(87, 38%, 83%)
CMYKcmyk(17.1%, 0%, 38.4%, 17.3%)
CIE-LABlab(80.36, -25.62, 36.27)
CIE-LCHlch(80.36, 44.41, 125.24°)
OKLaboklab(82.17% -0.0702 0.0893)
OKLCHoklch(82.17% 0.114 128.2)
XYZxyz(45.0022, 57.3137, 29.8065)
Luminance0.5731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD382 #A682D3
analogous
#D3CF82 #AFD382 #87D382
triadic
#AFD382 #82AFD3 #D382AF
tetradic
#AFD382 #82D3CF #A682D3 #D38287
square
#AFD382 #82D3CF #A682D3 #D38287
split-complementary
#AFD382 #8287D3 #CF82D3
monochromatic
#73A239 #92C355 #AFD382 #CCE3AF #E9F3DD

Accessibility & contrast

On white

1.69
#AFD382 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#AFD382 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD382
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD382#FFFFFF#000000##000000
##AFD3821.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC97C
Deuteranopia (green-blind)
#D5C786
Tritanopia (blue-blind)
#B3CCBF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd382;
/* rgb */ color: rgb(175, 211, 130);
/* oklch */ color: oklch(82.2% 0.114 128.2);
Tailwind
colors: {
  custom: {
    50: '#c8e0a7',
    500: '#afd382',
    950: '#000000',
  },
}
SCSS
$custom: #afd382;
$custom-light: #c8e0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#afd382",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 130
  },
  "hsl": {
    "h": 86.667,
    "s": 47.929,
    "l": 66.863
  },
  "oklch": {
    "l": 0.82167,
    "c": 0.11356,
    "h": 128.2
  },
  "luminance": 0.57314
}

Semantic roles & 50–950 ramp

primary
#AFD382
secondary
#7853A6
accent
#2ABB6B
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD382

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

Preview Lab → · Contrast checker → · Palette generator →

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