#AFD94F#AFD94F

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

Color values

HEX#AFD94F
RGBrgb(175, 217, 79)
HSLhsl(78, 64%, 58%)
HSVhsv(78, 64%, 85%)
CMYKcmyk(19.4%, 0%, 63.6%, 14.9%)
CIE-LABlab(81.46, -33.57, 61.34)
CIE-LCHlch(81.46, 69.93, 118.69°)
OKLaboklab(82.87% -0.0963 0.1402)
OKLCHoklch(82.87% 0.17 124.5)
XYZxyz(43.9036, 59.3038, 16.5294)
Luminance0.5930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD94F #794FD9
analogous
#D9BE4F #AFD94F #6AD94F
triadic
#AFD94F #4FAFD9 #D94FAF
tetradic
#AFD94F #4FD9BE #794FD9 #D94F6A
square
#AFD94F #4FD9BE #794FD9 #D94F6A
split-complementary
#AFD94F #4F6AD9 #BE4FD9
monochromatic
#6D8F1F #93C12A #AFD94F #C6E481 #DDEFB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD94F#FFFFFF#000000##000000
##AFD94F1.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)
#E4CC3D
Deuteranopia (green-blind)
#DFCA59
Tritanopia (blue-blind)
#B7CFBC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd94f;
/* rgb */ color: rgb(175, 217, 79);
/* oklch */ color: oklch(82.9% 0.170 124.5);
Tailwind
colors: {
  custom: {
    50: '#cae586',
    500: '#afd94f',
    950: '#000000',
  },
}
SCSS
$custom: #afd94f;
$custom-light: #cae586;
$custom-dark: #000000;
JSON
{
  "hex": "#afd94f",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 78.261,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82867,
    "c": 0.1701,
    "h": 124.5
  },
  "luminance": 0.59304
}

Semantic roles & 50–950 ramp

primary
#AFD94F
secondary
#543894
accent
#40E773
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD94F

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

Preview Lab → · Contrast checker → · Palette generator →

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