#AFD77D#AFD77D

#AFD77D is a very light, vivid yellow-green. Relative luminance 0.592; OKLCH L 83.0% C 0.125 H 128.4°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#AFD77D
RGBrgb(175, 215, 125)
HSLhsl(87, 53%, 67%)
HSVhsv(87, 42%, 84%)
CMYKcmyk(18.6%, 0%, 41.9%, 15.7%)
CIE-LABlab(81.40, -28.17, 40.12)
CIE-LCHlch(81.40, 49.02, 125.07°)
OKLaboklab(82.98% -0.0776 0.0979)
OKLCHoklch(82.98% 0.125 128.4)
XYZxyz(45.6808, 59.1949, 28.4171)
Luminance0.5920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD77D #A57DD7
analogous
#D7D27D #AFD77D #82D77D
triadic
#AFD77D #7DAFD7 #D77DAF
tetradic
#AFD77D #7DD7D2 #A57DD7 #D77D82
square
#AFD77D #7DD7D2 #A57DD7 #D77D82
split-complementary
#AFD77D #7D82D7 #D27DD7
monochromatic
#73A633 #92C94E #AFD77D #CCE5AC #E9F4DB

Accessibility & contrast

On white

1.64
#AFD77D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#AFD77D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD77D
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD77D#FFFFFF#000000##000000
##AFD77D1.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC76
Deuteranopia (green-blind)
#D9C982
Tritanopia (blue-blind)
#B3D0C1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd77d;
/* rgb */ color: rgb(175, 215, 125);
/* oklch */ color: oklch(83.0% 0.125 128.4);
Tailwind
colors: {
  custom: {
    50: '#c8e3a4',
    500: '#afd77d',
    950: '#000000',
  },
}
SCSS
$custom: #afd77d;
$custom-light: #c8e3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afd77d",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 125
  },
  "hsl": {
    "h": 86.667,
    "s": 52.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82982,
    "c": 0.12489,
    "h": 128.4
  },
  "luminance": 0.59196
}

Semantic roles & 50–950 ramp

primary
#AFD77D
secondary
#774EAA
accent
#25C06A
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD77D

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

Preview Lab → · Contrast checker → · Palette generator →

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