#AFD85A#AFD85A

#AFD85A is a very light, vivid yellow-green. Relative luminance 0.590; OKLCH L 82.7% C 0.160 H 124.9°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#AFD85A
RGBrgb(175, 216, 90)
HSLhsl(80, 62%, 60%)
HSVhsv(80, 58%, 85%)
CMYKcmyk(19%, 0%, 58.3%, 15.3%)
CIE-LABlab(81.27, -32.25, 56.48)
CIE-LCHlch(81.27, 65.04, 119.72°)
OKLaboklab(82.75% -0.0917 0.1312)
OKLCHoklch(82.75% 0.16 124.9)
XYZxyz(44.0807, 58.9635, 18.7296)
Luminance0.5896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD85A #835AD8
analogous
#D8C25A #AFD85A #70D85A
triadic
#AFD85A #5AAFD8 #D85AAF
tetradic
#AFD85A #5AD8C2 #835AD8 #D85A70
square
#AFD85A #5AD8C2 #835AD8 #D85A70
split-complementary
#AFD85A #5A70D8 #C25AD8
monochromatic
#709523 #95C62F #AFD85A #C7E48B #DFEFBD

Accessibility & contrast

On white

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

On black

12.79
#AFD85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD85A
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD85A#FFFFFF#000000##000000
##AFD85A1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd85a;
/* rgb */ color: rgb(175, 216, 90);
/* oklch */ color: oklch(82.7% 0.160 124.9);
Tailwind
colors: {
  custom: {
    50: '#c9e48d',
    500: '#afd85a',
    950: '#000000',
  },
}
SCSS
$custom: #afd85a;
$custom-light: #c9e48d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd85a",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 90
  },
  "hsl": {
    "h": 79.524,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.82747,
    "c": 0.16005,
    "h": 124.9
  },
  "luminance": 0.58964
}

Semantic roles & 50–950 ramp

primary
#AFD85A
secondary
#5B3D99
accent
#43E578
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD85A

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

Preview Lab → · Contrast checker → · Palette generator →

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