#AFD55A#AFD55A

#AFD55A is a very light, vivid yellow-green. Relative luminance 0.574; OKLCH L 82.1% C 0.156 H 124.2°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#AFD55A
RGBrgb(175, 213, 90)
HSLhsl(79, 59%, 59%)
HSVhsv(79, 58%, 84%)
CMYKcmyk(17.8%, 0%, 57.7%, 16.5%)
CIE-LABlab(80.43, -30.85, 55.53)
CIE-LCHlch(80.43, 63.52, 119.05°)
OKLaboklab(82.07% -0.0878 0.1292)
OKLCHoklch(82.07% 0.156 124.2)
XYZxyz(43.3191, 57.4403, 18.4758)
Luminance0.5744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD55A #805AD5
analogous
#D5BE5A #AFD55A #72D55A
triadic
#AFD55A #5AAFD5 #D55AAF
tetradic
#AFD55A #5AD5BE #805AD5 #D55A72
square
#AFD55A #5AD5BE #805AD5 #D55A72
split-complementary
#AFD55A #5A72D5 #BE5AD5
monochromatic
#6F9025 #94C131 #AFD55A #C7E18B #DEEEBC

Accessibility & contrast

On white

1.68
#AFD55A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#AFD55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD55A
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD55A#FFFFFF#000000##000000
##AFD55A1.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94D
Deuteranopia (green-blind)
#DBC762
Tritanopia (blue-blind)
#B6CCBA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd55a;
/* rgb */ color: rgb(175, 213, 90);
/* oklch */ color: oklch(82.1% 0.156 124.2);
Tailwind
colors: {
  custom: {
    50: '#c9e28d',
    500: '#afd55a',
    950: '#000000',
  },
}
SCSS
$custom: #afd55a;
$custom-light: #c9e28d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd55a",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 90
  },
  "hsl": {
    "h": 78.537,
    "s": 59.42,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82066,
    "c": 0.15617,
    "h": 124.2
  },
  "luminance": 0.57441
}

Semantic roles & 50–950 ramp

primary
#AFD55A
secondary
#593E96
accent
#45E376
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD55A

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

Preview Lab → · Contrast checker → · Palette generator →

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