#AFD94C#AFD94C

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

Color values

HEX#AFD94C
RGBrgb(175, 217, 76)
HSLhsl(78, 65%, 57%)
HSVhsv(78, 65%, 85%)
CMYKcmyk(19.4%, 0%, 65%, 14.9%)
CIE-LABlab(81.43, -33.78, 62.52)
CIE-LCHlch(81.43, 71.07, 118.38°)
OKLaboklab(82.84% -0.0972 0.1423)
OKLCHoklch(82.84% 0.172 124.3)
XYZxyz(43.7969, 59.2611, 15.9672)
Luminance0.5926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD94C #764CD9
analogous
#D9BC4C #AFD94C #69D94C
triadic
#AFD94C #4CAFD9 #D94CAF
tetradic
#AFD94C #4CD9BC #764CD9 #D94C69
square
#AFD94C #4CD9BC #764CD9 #D94C69
split-complementary
#AFD94C #4C69D9 #BC4CD9
monochromatic
#6C8D1E #92BF29 #AFD94C #C6E47E #DCEEB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD94C#FFFFFF#000000##000000
##AFD94C1.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)
#E5CC39
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#B7CFBC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd94c;
/* rgb */ color: rgb(175, 217, 76);
/* oklch */ color: oklch(82.8% 0.172 124.3);
Tailwind
colors: {
  custom: {
    50: '#cae585',
    500: '#afd94c',
    950: '#000000',
  },
}
SCSS
$custom: #afd94c;
$custom-light: #cae585;
$custom-dark: #000000;
JSON
{
  "hex": "#afd94c",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 76
  },
  "hsl": {
    "h": 77.872,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82841,
    "c": 0.17232,
    "h": 124.3
  },
  "luminance": 0.59261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD94C

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

Preview Lab → · Contrast checker → · Palette generator →

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