#AFD84D#AFD84D

#AFD84D is a very light, vivid yellow-green. Relative luminance 0.588; OKLCH L 82.6% C 0.170 H 124.1°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#AFD84D
RGBrgb(175, 216, 77)
HSLhsl(78, 64%, 57%)
HSVhsv(78, 64%, 85%)
CMYKcmyk(19%, 0%, 64.4%, 15.3%)
CIE-LABlab(81.16, -33.25, 61.83)
CIE-LCHlch(81.16, 70.21, 118.27°)
OKLaboklab(82.62% -0.0956 0.141)
OKLCHoklch(82.62% 0.17 124.1)
XYZxyz(43.5749, 58.7612, 16.0661)
Luminance0.5876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD84D #764DD8
analogous
#D8BC4D #AFD84D #69D84D
triadic
#AFD84D #4DAFD8 #D84DAF
tetradic
#AFD84D #4DD8BC #764DD8 #D84D69
square
#AFD84D #4DD8BC #764DD8 #D84D69
split-complementary
#AFD84D #4D69D8 #BC4DD8
monochromatic
#6C8C1F #92BE2A #AFD84D #C6E37F #DCEEB1

Accessibility & contrast

On white

1.65
#AFD84D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#AFD84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD84D
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD84D#FFFFFF#000000##000000
##AFD84D1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB3B
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#B7CEBB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd84d;
/* rgb */ color: rgb(175, 216, 77);
/* oklch */ color: oklch(82.6% 0.170 124.1);
Tailwind
colors: {
  custom: {
    50: '#cae485',
    500: '#afd84d',
    950: '#000000',
  },
}
SCSS
$custom: #afd84d;
$custom-light: #cae485;
$custom-dark: #000000;
JSON
{
  "hex": "#afd84d",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 77
  },
  "hsl": {
    "h": 77.698,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82621,
    "c": 0.17035,
    "h": 124.1
  },
  "luminance": 0.58762
}

Semantic roles & 50–950 ramp

primary
#AFD84D
secondary
#523792
accent
#41E772
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD84D

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

Preview Lab → · Contrast checker → · Palette generator →

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