#AFD94D#AFD94D

#AFD94D is a very light, vivid yellow-green. Relative luminance 0.593; OKLCH L 82.8% C 0.172 H 124.4°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#AFD94D
RGBrgb(175, 217, 77)
HSLhsl(78, 65%, 58%)
HSVhsv(78, 65%, 85%)
CMYKcmyk(19.4%, 0%, 64.5%, 14.9%)
CIE-LABlab(81.44, -33.71, 62.13)
CIE-LCHlch(81.44, 70.69, 118.49°)
OKLaboklab(82.85% -0.0969 0.1416)
OKLCHoklch(82.85% 0.172 124.4)
XYZxyz(43.8319, 59.2751, 16.1518)
Luminance0.5927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD94D #774DD9
analogous
#D9BD4D #AFD94D #69D94D
triadic
#AFD94D #4DAFD9 #D94DAF
tetradic
#AFD94D #4DD9BD #774DD9 #D94D69
square
#AFD94D #4DD9BD #774DD9 #D94D69
split-complementary
#AFD94D #4D69D9 #BD4DD9
monochromatic
#6C8D1E #93C029 #AFD94D #C6E47F #DCEFB2

Accessibility & contrast

On white

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

On black

12.86
#AFD94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD94D
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD94D#FFFFFF#000000##000000
##AFD94D1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd94d;
/* rgb */ color: rgb(175, 217, 77);
/* oklch */ color: oklch(82.8% 0.172 124.4);
Tailwind
colors: {
  custom: {
    50: '#cae585',
    500: '#afd94d',
    950: '#000000',
  },
}
SCSS
$custom: #afd94d;
$custom-light: #cae585;
$custom-dark: #000000;
JSON
{
  "hex": "#afd94d",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 77
  },
  "hsl": {
    "h": 78,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8285,
    "c": 0.17159,
    "h": 124.4
  },
  "luminance": 0.59275
}

Semantic roles & 50–950 ramp

primary
#AFD94D
secondary
#533793
accent
#40E872
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD94D

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

Preview Lab → · Contrast checker → · Palette generator →

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