#AFD585#AFD585

#AFD585 is a very light, moderate yellow-green. Relative luminance 0.584; OKLCH L 82.7% C 0.113 H 129.3°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#AFD585
RGBrgb(175, 213, 133)
HSLhsl(89, 49%, 68%)
HSVhsv(89, 38%, 84%)
CMYKcmyk(17.8%, 0%, 37.6%, 16.5%)
CIE-LABlab(80.96, -26.20, 35.53)
CIE-LCHlch(80.96, 44.14, 126.40°)
OKLaboklab(82.67% -0.0717 0.0876)
OKLCHoklch(82.67% 0.113 129.3)
XYZxyz(45.7064, 58.3953, 31.0491)
Luminance0.5840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD585 #AB85D5
analogous
#D5D385 #AFD585 #87D585
triadic
#AFD585 #85AFD5 #D585AF
tetradic
#AFD585 #85D5D3 #AB85D5 #D58587
square
#AFD585 #85D5D3 #AB85D5 #D58587
split-complementary
#AFD585 #8587D5 #D385D5
monochromatic
#73A639 #91C557 #AFD585 #CDE5B3 #EBF4E0

Accessibility & contrast

On white

1.66
#AFD585 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#AFD585 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD585
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD585#FFFFFF#000000##000000
##AFD5851.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCB7F
Deuteranopia (green-blind)
#D7C889
Tritanopia (blue-blind)
#B2CEC1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd585;
/* rgb */ color: rgb(175, 213, 133);
/* oklch */ color: oklch(82.7% 0.113 129.3);
Tailwind
colors: {
  custom: {
    50: '#c8e2a9',
    500: '#afd585',
    950: '#000000',
  },
}
SCSS
$custom: #afd585;
$custom-light: #c8e2a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afd585",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 133
  },
  "hsl": {
    "h": 88.5,
    "s": 48.78,
    "l": 67.843
  },
  "oklch": {
    "l": 0.82666,
    "c": 0.11323,
    "h": 129.3
  },
  "luminance": 0.58396
}

Semantic roles & 50–950 ramp

primary
#AFD585
secondary
#7D54AA
accent
#29BC6F
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD585

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

Preview Lab → · Contrast checker → · Palette generator →

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