#AFD859#AFD859

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

Color values

HEX#AFD859
RGBrgb(175, 216, 89)
HSLhsl(79, 62%, 60%)
HSVhsv(79, 59%, 85%)
CMYKcmyk(19%, 0%, 58.8%, 15.3%)
CIE-LABlab(81.26, -32.33, 56.91)
CIE-LCHlch(81.26, 65.45, 119.60°)
OKLaboklab(82.74% -0.092 0.132)
OKLCHoklch(82.74% 0.161 124.9)
XYZxyz(44.0384, 58.9466, 18.5070)
Luminance0.5895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD859 #8259D8
analogous
#D8C159 #AFD859 #70D859
triadic
#AFD859 #59AFD8 #D859AF
tetradic
#AFD859 #59D8C1 #8259D8 #D85970
square
#AFD859 #59D8C1 #8259D8 #D85970
split-complementary
#AFD859 #5970D8 #C159D8
monochromatic
#6F9423 #95C52E #AFD859 #C7E48B #DFEFBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD859#FFFFFF#000000##000000
##AFD8591.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)
#E3CB4B
Deuteranopia (green-blind)
#DDC962
Tritanopia (blue-blind)
#B6CEBD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd859;
/* rgb */ color: rgb(175, 216, 89);
/* oklch */ color: oklch(82.7% 0.161 124.9);
Tailwind
colors: {
  custom: {
    50: '#c9e48c',
    500: '#afd859',
    950: '#000000',
  },
}
SCSS
$custom: #afd859;
$custom-light: #c9e48c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd859",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 89
  },
  "hsl": {
    "h": 79.37,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82737,
    "c": 0.16089,
    "h": 124.9
  },
  "luminance": 0.58947
}

Semantic roles & 50–950 ramp

primary
#AFD859
secondary
#5A3C99
accent
#43E577
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD859

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

Preview Lab → · Contrast checker → · Palette generator →

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