#AFD386#AFD386

#AFD386 is a very light, moderate yellow-green. Relative luminance 0.574; OKLCH L 82.2% C 0.109 H 128.9°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#AFD386
RGBrgb(175, 211, 134)
HSLhsl(88, 47%, 68%)
HSVhsv(88, 36%, 83%)
CMYKcmyk(17.1%, 0%, 36.5%, 17.3%)
CIE-LABlab(80.42, -25.10, 34.31)
CIE-LCHlch(80.42, 42.51, 126.18°)
OKLaboklab(82.24% -0.0686 0.0849)
OKLCHoklch(82.24% 0.109 128.9)
XYZxyz(45.2759, 57.4231, 31.2481)
Luminance0.5742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD386 #AA86D3
analogous
#D3D186 #AFD386 #88D386
triadic
#AFD386 #86AFD3 #D386AF
tetradic
#AFD386 #86D3D1 #AA86D3 #D38688
square
#AFD386 #86D3D1 #AA86D3 #D38688
split-complementary
#AFD386 #8688D3 #D186D3
monochromatic
#73A33B #91C359 #AFD386 #CDE3B3 #EAF4E0

Accessibility & contrast

On white

1.68
#AFD386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#AFD386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD386
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD386#FFFFFF#000000##000000
##AFD3861.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC981
Deuteranopia (green-blind)
#D5C78A
Tritanopia (blue-blind)
#B2CDC0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd386;
/* rgb */ color: rgb(175, 211, 134);
/* oklch */ color: oklch(82.2% 0.109 128.9);
Tailwind
colors: {
  custom: {
    50: '#c8e0aa',
    500: '#afd386',
    950: '#000000',
  },
}
SCSS
$custom: #afd386;
$custom-light: #c8e0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#afd386",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 134
  },
  "hsl": {
    "h": 88.052,
    "s": 46.667,
    "l": 67.647
  },
  "oklch": {
    "l": 0.82236,
    "c": 0.10911,
    "h": 128.9
  },
  "luminance": 0.57424
}

Semantic roles & 50–950 ramp

primary
#AFD386
secondary
#7C55A8
accent
#2CBA6E
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD386

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

Preview Lab → · Contrast checker → · Palette generator →

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