#AFD259#AFD259

#AFD259 is a light, vivid yellow-green. Relative luminance 0.559; OKLCH L 81.4% C 0.153 H 123.3°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#AFD259
RGBrgb(175, 210, 89)
HSLhsl(77, 57%, 59%)
HSVhsv(77, 58%, 82%)
CMYKcmyk(16.7%, 0%, 57.6%, 17.6%)
CIE-LABlab(79.57, -29.52, 55.01)
CIE-LCHlch(79.57, 62.43, 118.22°)
OKLaboklab(81.37% -0.0842 0.1279)
OKLCHoklch(81.37% 0.153 123.3)
XYZxyz(42.5292, 55.9282, 18.0039)
Luminance0.5593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD259 #7C59D2
analogous
#D2B859 #AFD259 #72D259
triadic
#AFD259 #59AFD2 #D259AF
tetradic
#AFD259 #59D2B8 #7C59D2 #D25972
square
#AFD259 #59D2B8 #7C59D2 #D25972
split-complementary
#AFD259 #5972D2 #B859D2
monochromatic
#6E8B26 #94BB33 #AFD259 #C6DF89 #DDECB9

Accessibility & contrast

On white

1.72
#AFD259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#AFD259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD259
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD259#FFFFFF#000000##000000
##AFD2591.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64C
Deuteranopia (green-blind)
#D8C561
Tritanopia (blue-blind)
#B7C9B8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd259;
/* rgb */ color: rgb(175, 210, 89);
/* oklch */ color: oklch(81.4% 0.153 123.3);
Tailwind
colors: {
  custom: {
    50: '#c9df8c',
    500: '#afd259',
    950: '#000000',
  },
}
SCSS
$custom: #afd259;
$custom-light: #c9df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd259",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 89
  },
  "hsl": {
    "h": 77.355,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81374,
    "c": 0.15314,
    "h": 123.3
  },
  "luminance": 0.55928
}

Semantic roles & 50–950 ramp

primary
#AFD259
secondary
#563E91
accent
#47E174
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD259

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

Preview Lab → · Contrast checker → · Palette generator →

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