#AFD385#AFD385

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

Color values

HEX#AFD385
RGBrgb(175, 211, 133)
HSLhsl(88, 47%, 67%)
HSVhsv(88, 37%, 83%)
CMYKcmyk(17.1%, 0%, 37%, 17.3%)
CIE-LABlab(80.40, -25.23, 34.80)
CIE-LCHlch(80.40, 42.99, 125.94°)
OKLaboklab(82.22% -0.069 0.086)
OKLCHoklch(82.22% 0.11 128.8)
XYZxyz(45.2065, 57.3954, 30.8825)
Luminance0.5740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD385 #A985D3
analogous
#D3D085 #AFD385 #88D385
triadic
#AFD385 #85AFD3 #D385AF
tetradic
#AFD385 #85D3D0 #A985D3 #D38588
square
#AFD385 #85D3D0 #A985D3 #D38588
split-complementary
#AFD385 #8588D3 #D085D3
monochromatic
#73A33B #92C358 #AFD385 #CCE3B2 #EAF3DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD385#FFFFFF#000000##000000
##AFD3851.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)
#DAC97F
Deuteranopia (green-blind)
#D5C789
Tritanopia (blue-blind)
#B2CDBF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd385;
/* rgb */ color: rgb(175, 211, 133);
/* oklch */ color: oklch(82.2% 0.110 128.8);
Tailwind
colors: {
  custom: {
    50: '#c8e0a9',
    500: '#afd385',
    950: '#000000',
  },
}
SCSS
$custom: #afd385;
$custom-light: #c8e0a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afd385",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 133
  },
  "hsl": {
    "h": 87.692,
    "s": 46.988,
    "l": 67.451
  },
  "oklch": {
    "l": 0.82219,
    "c": 0.11023,
    "h": 128.8
  },
  "luminance": 0.57396
}

Semantic roles & 50–950 ramp

primary
#AFD385
secondary
#7B55A8
accent
#2BBA6D
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#131510
muted
#828480

Preview Lab

Preview with #AFD385

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

Preview Lab → · Contrast checker → · Palette generator →

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