#AFD94E#AFD94E

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

Color values

HEX#AFD94E
RGBrgb(175, 217, 78)
HSLhsl(78, 65%, 58%)
HSVhsv(78, 64%, 85%)
CMYKcmyk(19.4%, 0%, 64.1%, 14.9%)
CIE-LABlab(81.45, -33.64, 61.74)
CIE-LCHlch(81.45, 70.31, 118.59°)
OKLaboklab(82.86% -0.0966 0.1409)
OKLCHoklch(82.86% 0.171 124.4)
XYZxyz(43.8675, 59.2893, 16.3392)
Luminance0.5929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD94E #784ED9
analogous
#D9BD4E #AFD94E #6AD94E
triadic
#AFD94E #4EAFD9 #D94EAF
tetradic
#AFD94E #4ED9BD #784ED9 #D94E6A
square
#AFD94E #4ED9BD #784ED9 #D94E6A
split-complementary
#AFD94E #4E6AD9 #BD4ED9
monochromatic
#6C8E1F #93C029 #AFD94E #C6E480 #DDEFB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD94E#FFFFFF#000000##000000
##AFD94E1.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)
#E5CC3C
Deuteranopia (green-blind)
#DFCA58
Tritanopia (blue-blind)
#B7CFBC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd94e;
/* rgb */ color: rgb(175, 217, 78);
/* oklch */ color: oklch(82.9% 0.171 124.4);
Tailwind
colors: {
  custom: {
    50: '#cae586',
    500: '#afd94e',
    950: '#000000',
  },
}
SCSS
$custom: #afd94e;
$custom-light: #cae586;
$custom-dark: #000000;
JSON
{
  "hex": "#afd94e",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 78
  },
  "hsl": {
    "h": 78.129,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82858,
    "c": 0.17085,
    "h": 124.4
  },
  "luminance": 0.5929
}

Semantic roles & 50–950 ramp

primary
#AFD94E
secondary
#533894
accent
#40E873
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD94E

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

Preview Lab → · Contrast checker → · Palette generator →

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