#AFD759#AFD759

#AFD759 is a very light, vivid yellow-green. Relative luminance 0.584; OKLCH L 82.5% C 0.160 H 124.6°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#AFD759
RGBrgb(175, 215, 89)
HSLhsl(79, 61%, 60%)
HSVhsv(79, 59%, 84%)
CMYKcmyk(18.6%, 0%, 58.6%, 15.7%)
CIE-LABlab(80.98, -31.87, 56.59)
CIE-LCHlch(80.98, 64.95, 119.38°)
OKLaboklab(82.51% -0.0907 0.1313)
OKLCHoklch(82.51% 0.16 124.6)
XYZxyz(43.7830, 58.4357, 18.4218)
Luminance0.5844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD759 #8159D7
analogous
#D7C059 #AFD759 #70D759
triadic
#AFD759 #59AFD7 #D759AF
tetradic
#AFD759 #59D7C0 #8159D7 #D75970
square
#AFD759 #59D7C0 #8159D7 #D75970
split-complementary
#AFD759 #5970D7 #C059D7
monochromatic
#6F9223 #95C42F #AFD759 #C7E38A #DFEFBC

Accessibility & contrast

On white

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

On black

12.69
#AFD759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD759
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD759#FFFFFF#000000##000000
##AFD7591.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA4B
Deuteranopia (green-blind)
#DDC962
Tritanopia (blue-blind)
#B6CDBC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd759;
/* rgb */ color: rgb(175, 215, 89);
/* oklch */ color: oklch(82.5% 0.160 124.6);
Tailwind
colors: {
  custom: {
    50: '#c9e38c',
    500: '#afd759',
    950: '#000000',
  },
}
SCSS
$custom: #afd759;
$custom-light: #c9e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd759",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 89
  },
  "hsl": {
    "h": 79.048,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82509,
    "c": 0.1596,
    "h": 124.6
  },
  "luminance": 0.58436
}

Semantic roles & 50–950 ramp

primary
#AFD759
secondary
#5A3D98
accent
#44E477
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD759

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

Preview Lab → · Contrast checker → · Palette generator →

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