#AFD85E#AFD85E

#AFD85E 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.81:1 contrast (WCAG AA passes).

Color values

HEX#AFD85E
RGBrgb(175, 216, 94)
HSLhsl(80, 61%, 61%)
HSVhsv(80, 56%, 85%)
CMYKcmyk(19%, 0%, 56.5%, 15.3%)
CIE-LABlab(81.31, -31.90, 54.75)
CIE-LCHlch(81.31, 63.37, 120.23°)
OKLaboklab(82.79% -0.0903 0.1279)
OKLCHoklch(82.79% 0.157 125.2)
XYZxyz(44.2555, 59.0334, 19.6506)
Luminance0.5903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD85E #875ED8
analogous
#D8C45E #AFD85E #72D85E
triadic
#AFD85E #5EAFD8 #D85EAF
tetradic
#AFD85E #5ED8C4 #875ED8 #D85E72
square
#AFD85E #5ED8C4 #875ED8 #D85E72
split-complementary
#AFD85E #5E72D8 #C45ED8
monochromatic
#719725 #95C831 #AFD85E #C7E48F #E0F0C1

Accessibility & contrast

On white

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

On black

12.81
#AFD85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD85E
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD85E#FFFFFF#000000##000000
##AFD85E1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd85e;
/* rgb */ color: rgb(175, 216, 94);
/* oklch */ color: oklch(82.8% 0.157 125.2);
Tailwind
colors: {
  custom: {
    50: '#c9e48f',
    500: '#afd85e',
    950: '#000000',
  },
}
SCSS
$custom: #afd85e;
$custom-light: #c9e48f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd85e",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 94
  },
  "hsl": {
    "h": 80.164,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82791,
    "c": 0.15661,
    "h": 125.2
  },
  "luminance": 0.59034
}

Semantic roles & 50–950 ramp

primary
#AFD85E
secondary
#5E3F9C
accent
#1DC957
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD85E

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

Preview Lab → · Contrast checker → · Palette generator →

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