#AFD45A#AFD45A

#AFD45A is a light, vivid yellow-green. Relative luminance 0.569; OKLCH L 81.8% C 0.155 H 123.9°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#AFD45A
RGBrgb(175, 212, 90)
HSLhsl(78, 59%, 59%)
HSVhsv(78, 58%, 83%)
CMYKcmyk(17.5%, 0%, 57.5%, 16.9%)
CIE-LABlab(80.15, -30.38, 55.21)
CIE-LCHlch(80.15, 63.02, 118.82°)
OKLaboklab(81.84% -0.0865 0.1285)
OKLCHoklch(81.84% 0.155 123.9)
XYZxyz(43.0683, 56.9388, 18.3922)
Luminance0.5694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD45A #7F5AD4
analogous
#D4BC5A #AFD45A #72D45A
triadic
#AFD45A #5AAFD4 #D45AAF
tetradic
#AFD45A #5AD4BC #7F5AD4 #D45A72
square
#AFD45A #5AD4BC #7F5AD4 #D45A72
split-complementary
#AFD45A #5A72D4 #BC5AD4
monochromatic
#6F8E25 #94BF32 #AFD45A #C7E18B #DEEDBB

Accessibility & contrast

On white

1.70
#AFD45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#AFD45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD45A
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD45A#FFFFFF#000000##000000
##AFD45A1.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84D
Deuteranopia (green-blind)
#DAC662
Tritanopia (blue-blind)
#B6CBBA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd45a;
/* rgb */ color: rgb(175, 212, 90);
/* oklch */ color: oklch(81.8% 0.155 123.9);
Tailwind
colors: {
  custom: {
    50: '#c9e18d',
    500: '#afd45a',
    950: '#000000',
  },
}
SCSS
$custom: #afd45a;
$custom-light: #c9e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd45a",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 90
  },
  "hsl": {
    "h": 78.197,
    "s": 58.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81839,
    "c": 0.15487,
    "h": 123.9
  },
  "luminance": 0.56939
}

Semantic roles & 50–950 ramp

primary
#AFD45A
secondary
#583E94
accent
#46E275
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD45A

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

Preview Lab → · Contrast checker → · Palette generator →

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