#AFD77A#AFD77A

#AFD77A is a very light, vivid yellow-green. Relative luminance 0.591; OKLCH L 82.9% C 0.128 H 128.0°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#AFD77A
RGBrgb(175, 215, 122)
HSLhsl(86, 54%, 66%)
HSVhsv(86, 43%, 84%)
CMYKcmyk(18.6%, 0%, 43.3%, 15.7%)
CIE-LABlab(81.36, -28.53, 41.55)
CIE-LCHlch(81.36, 50.41, 124.47°)
OKLaboklab(82.94% -0.0788 0.101)
OKLCHoklch(82.94% 0.128 128)
XYZxyz(45.4921, 59.1194, 27.4230)
Luminance0.5912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD77A #A27AD7
analogous
#D7D07A #AFD77A #80D77A
triadic
#AFD77A #7AAFD7 #D77AAF
tetradic
#AFD77A #7AD7D0 #A27AD7 #D77A80
square
#AFD77A #7AD7D0 #A27AD7 #D77A80
split-complementary
#AFD77A #7A80D7 #D07AD7
monochromatic
#73A532 #93C94B #AFD77A #CBE5A9 #E8F3D8

Accessibility & contrast

On white

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

On black

12.82
#AFD77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD77A
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD77A#FFFFFF#000000##000000
##AFD77A1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd77a;
/* rgb */ color: rgb(175, 215, 122);
/* oklch */ color: oklch(82.9% 0.128 128.0);
Tailwind
colors: {
  custom: {
    50: '#c8e3a2',
    500: '#afd77a',
    950: '#000000',
  },
}
SCSS
$custom: #afd77a;
$custom-light: #c8e3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#afd77a",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 122
  },
  "hsl": {
    "h": 85.806,
    "s": 53.757,
    "l": 66.078
  },
  "oklch": {
    "l": 0.82935,
    "c": 0.12807,
    "h": 128
  },
  "luminance": 0.5912
}

Semantic roles & 50–950 ramp

primary
#AFD77A
secondary
#744CA9
accent
#24C168
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD77A

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

Preview Lab → · Contrast checker → · Palette generator →

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