#AFD25A#AFD25A

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

Color values

HEX#AFD25A
RGBrgb(175, 210, 90)
HSLhsl(78, 57%, 59%)
HSVhsv(78, 57%, 82%)
CMYKcmyk(16.7%, 0%, 57.1%, 17.6%)
CIE-LABlab(79.58, -29.44, 54.57)
CIE-LCHlch(79.58, 62.01, 118.34°)
OKLaboklab(81.38% -0.0838 0.1271)
OKLCHoklch(81.38% 0.152 123.4)
XYZxyz(42.5715, 55.9451, 18.2266)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD25A #7D5AD2
analogous
#D2B95A #AFD25A #73D25A
triadic
#AFD25A #5AAFD2 #D25AAF
tetradic
#AFD25A #5AD2B9 #7D5AD2 #D25A73
square
#AFD25A #5AD2B9 #7D5AD2 #D25A73
split-complementary
#AFD25A #5A73D2 #B95AD2
monochromatic
#6E8C26 #94BC33 #AFD25A #C6DF8A #DEECBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD25A#FFFFFF#000000##000000
##AFD25A1.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)
#DDC64D
Deuteranopia (green-blind)
#D8C562
Tritanopia (blue-blind)
#B6C9B8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd25a;
/* rgb */ color: rgb(175, 210, 90);
/* oklch */ color: oklch(81.4% 0.152 123.4);
Tailwind
colors: {
  custom: {
    50: '#c9df8d',
    500: '#afd25a',
    950: '#000000',
  },
}
SCSS
$custom: #afd25a;
$custom-light: #c9df8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd25a",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 90
  },
  "hsl": {
    "h": 77.5,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81385,
    "c": 0.15228,
    "h": 123.4
  },
  "luminance": 0.55945
}

Semantic roles & 50–950 ramp

primary
#AFD25A
secondary
#573E92
accent
#47E074
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD25A

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

Preview Lab → · Contrast checker → · Palette generator →

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