#AFD387#AFD387

#AFD387 is a very light, moderate yellow-green. Relative luminance 0.575; OKLCH L 82.3% C 0.108 H 129.1°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#AFD387
RGBrgb(175, 211, 135)
HSLhsl(88, 46%, 68%)
HSVhsv(88, 36%, 83%)
CMYKcmyk(17.1%, 0%, 36%, 17.3%)
CIE-LABlab(80.43, -24.96, 33.82)
CIE-LCHlch(80.43, 42.04, 126.43°)
OKLaboklab(82.25% -0.0682 0.0838)
OKLCHoklch(82.25% 0.108 129.1)
XYZxyz(45.3460, 57.4512, 31.6171)
Luminance0.5745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD387 #AB87D3
analogous
#D3D187 #AFD387 #89D387
triadic
#AFD387 #87AFD3 #D387AF
tetradic
#AFD387 #87D3D1 #AB87D3 #D38789
square
#AFD387 #87D3D1 #AB87D3 #D38789
split-complementary
#AFD387 #8789D3 #D187D3
monochromatic
#73A43C #91C35A #AFD387 #CDE3B4 #EBF4E1

Accessibility & contrast

On white

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

On black

12.49
#AFD387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD387
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD387#FFFFFF#000000##000000
##AFD3871.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC982
Deuteranopia (green-blind)
#D5C78B
Tritanopia (blue-blind)
#B2CDC0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd387;
/* rgb */ color: rgb(175, 211, 135);
/* oklch */ color: oklch(82.3% 0.108 129.1);
Tailwind
colors: {
  custom: {
    50: '#c8e0aa',
    500: '#afd387',
    950: '#000000',
  },
}
SCSS
$custom: #afd387;
$custom-light: #c8e0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#afd387",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 135
  },
  "hsl": {
    "h": 88.421,
    "s": 46.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.82254,
    "c": 0.10799,
    "h": 129.1
  },
  "luminance": 0.57452
}

Semantic roles & 50–950 ramp

primary
#AFD387
secondary
#7D56A8
accent
#2CBA6F
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD387

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

Preview Lab → · Contrast checker → · Palette generator →

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