#AFD85D#AFD85D

#AFD85D is a very light, vivid yellow-green. Relative luminance 0.590; OKLCH L 82.8% C 0.157 H 125.2°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#AFD85D
RGBrgb(175, 216, 93)
HSLhsl(80, 61%, 61%)
HSVhsv(80, 57%, 85%)
CMYKcmyk(19%, 0%, 56.9%, 15.3%)
CIE-LABlab(81.30, -31.99, 55.19)
CIE-LCHlch(81.30, 63.79, 120.10°)
OKLaboklab(82.78% -0.0907 0.1288)
OKLCHoklch(82.78% 0.157 125.2)
XYZxyz(44.2109, 59.0156, 19.4158)
Luminance0.5902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD85D #865DD8
analogous
#D8C35D #AFD85D #71D85D
triadic
#AFD85D #5DAFD8 #D85DAF
tetradic
#AFD85D #5DD8C3 #865DD8 #D85D71
square
#AFD85D #5DD8C3 #865DD8 #D85D71
split-complementary
#AFD85D #5D71D8 #C35DD8
monochromatic
#709624 #95C830 #AFD85D #C7E48E #E0F0C0

Accessibility & contrast

On white

1.64
#AFD85D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#AFD85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD85D
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD85D#FFFFFF#000000##000000
##AFD85D1.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB50
Deuteranopia (green-blind)
#DDC965
Tritanopia (blue-blind)
#B6CFBD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd85d;
/* rgb */ color: rgb(175, 216, 93);
/* oklch */ color: oklch(82.8% 0.157 125.2);
Tailwind
colors: {
  custom: {
    50: '#c9e48f',
    500: '#afd85d',
    950: '#000000',
  },
}
SCSS
$custom: #afd85d;
$custom-light: #c9e48f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd85d",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 93
  },
  "hsl": {
    "h": 80,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82779,
    "c": 0.15748,
    "h": 125.2
  },
  "luminance": 0.59016
}

Semantic roles & 50–950 ramp

primary
#AFD85D
secondary
#5D3E9B
accent
#1DC956
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD85D

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

Preview Lab → · Contrast checker → · Palette generator →

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