#AFD77F#AFD77F

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

Color values

HEX#AFD77F
RGBrgb(175, 215, 127)
HSLhsl(87, 52%, 67%)
HSVhsv(87, 41%, 84%)
CMYKcmyk(18.6%, 0%, 40.9%, 15.7%)
CIE-LABlab(81.43, -27.92, 39.15)
CIE-LCHlch(81.43, 48.09, 125.49°)
OKLaboklab(83.01% -0.0768 0.0958)
OKLCHoklch(83.01% 0.123 128.7)
XYZxyz(45.8099, 59.2465, 29.0968)
Luminance0.5925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD77F #A77FD7
analogous
#D7D37F #AFD77F #83D77F
triadic
#AFD77F #7FAFD7 #D77FAF
tetradic
#AFD77F #7FD7D3 #A77FD7 #D77F83
square
#AFD77F #7FD7D3 #A77FD7 #D77F83
split-complementary
#AFD77F #7F83D7 #D37FD7
monochromatic
#73A734 #92C850 #AFD77F #CCE6AE #E9F4DC

Accessibility & contrast

On white

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

On black

12.85
#AFD77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD77F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD77F#FFFFFF#000000##000000
##AFD77F1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd77f;
/* rgb */ color: rgb(175, 215, 127);
/* oklch */ color: oklch(83.0% 0.123 128.7);
Tailwind
colors: {
  custom: {
    50: '#c8e3a5',
    500: '#afd77f',
    950: '#000000',
  },
}
SCSS
$custom: #afd77f;
$custom-light: #c8e3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afd77f",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 127
  },
  "hsl": {
    "h": 87.273,
    "s": 52.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83014,
    "c": 0.12274,
    "h": 128.7
  },
  "luminance": 0.59247
}

Semantic roles & 50–950 ramp

primary
#AFD77F
secondary
#794FAB
accent
#26C06C
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD77F

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

Preview Lab → · Contrast checker → · Palette generator →

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