#AFD94A#AFD94A

#AFD94A is a very light, vivid yellow-green. Relative luminance 0.592; OKLCH L 82.8% C 0.174 H 124.2°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#AFD94A
RGBrgb(175, 217, 74)
HSLhsl(78, 65%, 57%)
HSVhsv(78, 66%, 85%)
CMYKcmyk(19.4%, 0%, 65.9%, 14.9%)
CIE-LABlab(81.42, -33.92, 63.30)
CIE-LCHlch(81.42, 71.81, 118.19°)
OKLaboklab(82.82% -0.0977 0.1437)
OKLCHoklch(82.82% 0.174 124.2)
XYZxyz(43.7284, 59.2337, 15.6067)
Luminance0.5923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD94A #744AD9
analogous
#D9BB4A #AFD94A #68D94A
triadic
#AFD94A #4AAFD9 #D94AAF
tetradic
#AFD94A #4AD9BB #744AD9 #D94A68
square
#AFD94A #4AD9BB #744AD9 #D94A68
split-complementary
#AFD94A #4A68D9 #BB4AD9
monochromatic
#6B8B1D #92BE28 #AFD94A #C5E47D #DCEEAF

Accessibility & contrast

On white

1.63
#AFD94A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#AFD94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD94A
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD94A#FFFFFF#000000##000000
##AFD94A1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC36
Deuteranopia (green-blind)
#DFCA55
Tritanopia (blue-blind)
#B7CFBC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd94a;
/* rgb */ color: rgb(175, 217, 74);
/* oklch */ color: oklch(82.8% 0.174 124.2);
Tailwind
colors: {
  custom: {
    50: '#cae584',
    500: '#afd94a',
    950: '#000000',
  },
}
SCSS
$custom: #afd94a;
$custom-light: #cae584;
$custom-dark: #000000;
JSON
{
  "hex": "#afd94a",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 74
  },
  "hsl": {
    "h": 77.622,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82824,
    "c": 0.17376,
    "h": 124.2
  },
  "luminance": 0.59234
}

Semantic roles & 50–950 ramp

primary
#AFD94A
secondary
#513691
accent
#40E871
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD94A

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

Preview Lab → · Contrast checker → · Palette generator →

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