#AFD677#AFD677

#AFD677 is a very light, vivid yellow-green. Relative luminance 0.585; OKLCH L 82.7% C 0.130 H 127.3°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#AFD677
RGBrgb(175, 214, 119)
HSLhsl(85, 54%, 65%)
HSVhsv(85, 44%, 84%)
CMYKcmyk(18.2%, 0%, 44.4%, 16.1%)
CIE-LABlab(81.04, -28.41, 42.63)
CIE-LCHlch(81.04, 51.23, 123.68°)
OKLaboklab(82.66% -0.0786 0.1032)
OKLCHoklch(82.66% 0.13 127.3)
XYZxyz(45.0552, 58.5385, 26.3745)
Luminance0.5854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD677 #9E77D6
analogous
#D6CE77 #AFD677 #7FD677
triadic
#AFD677 #77AFD6 #D677AF
tetradic
#AFD677 #77D6CE #9E77D6 #D6777F
square
#AFD677 #77D6CE #9E77D6 #D6777F
split-complementary
#AFD677 #777FD6 #CE77D6
monochromatic
#73A231 #93C848 #AFD677 #CBE4A6 #E6F2D5

Accessibility & contrast

On white

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

On black

12.71
#AFD677 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD677
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD677#FFFFFF#000000##000000
##AFD6771.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB6F
Deuteranopia (green-blind)
#D9C97C
Tritanopia (blue-blind)
#B4CEBF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd677;
/* rgb */ color: rgb(175, 214, 119);
/* oklch */ color: oklch(82.7% 0.130 127.3);
Tailwind
colors: {
  custom: {
    50: '#c8e2a0',
    500: '#afd677',
    950: '#000000',
  },
}
SCSS
$custom: #afd677;
$custom-light: #c8e2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afd677",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 119
  },
  "hsl": {
    "h": 84.632,
    "s": 53.672,
    "l": 65.294
  },
  "oklch": {
    "l": 0.82664,
    "c": 0.12977,
    "h": 127.3
  },
  "luminance": 0.58539
}

Semantic roles & 50–950 ramp

primary
#AFD677
secondary
#704BA6
accent
#24C165
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150F
muted
#838480

Preview Lab

Preview with #AFD677

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

Preview Lab → · Contrast checker → · Palette generator →

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