#AFD583#AFD583

#AFD583 is a very light, moderate yellow-green. Relative luminance 0.583; OKLCH L 82.6% C 0.115 H 128.9°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#AFD583
RGBrgb(175, 213, 131)
HSLhsl(88, 49%, 67%)
HSVhsv(88, 38%, 84%)
CMYKcmyk(17.8%, 0%, 38.5%, 16.5%)
CIE-LABlab(80.93, -26.46, 36.50)
CIE-LCHlch(80.93, 45.08, 125.93°)
OKLaboklab(82.63% -0.0725 0.0898)
OKLCHoklch(82.63% 0.115 128.9)
XYZxyz(45.5696, 58.3405, 30.3284)
Luminance0.5834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD583 #A983D5
analogous
#D5D283 #AFD583 #86D583
triadic
#AFD583 #83AFD5 #D583AF
tetradic
#AFD583 #83D5D2 #A983D5 #D58386
square
#AFD583 #83D5D2 #A983D5 #D58386
split-complementary
#AFD583 #8386D5 #D283D5
monochromatic
#73A638 #92C655 #AFD583 #CCE4B1 #EAF4DE

Accessibility & contrast

On white

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

On black

12.67
#AFD583 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD583
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD583#FFFFFF#000000##000000
##AFD5831.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd583;
/* rgb */ color: rgb(175, 213, 131);
/* oklch */ color: oklch(82.6% 0.115 128.9);
Tailwind
colors: {
  custom: {
    50: '#c8e2a8',
    500: '#afd583',
    950: '#000000',
  },
}
SCSS
$custom: #afd583;
$custom-light: #c8e2a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afd583",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 131
  },
  "hsl": {
    "h": 87.805,
    "s": 49.398,
    "l": 67.451
  },
  "oklch": {
    "l": 0.82632,
    "c": 0.11544,
    "h": 128.9
  },
  "luminance": 0.58341
}

Semantic roles & 50–950 ramp

primary
#AFD583
secondary
#7B52AA
accent
#29BD6D
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#131510
muted
#828480

Preview Lab

Preview with #AFD583

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

Preview Lab → · Contrast checker → · Palette generator →

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