#AFC777#AFC777

#AFC777 is a light, moderate yellow-green. Relative luminance 0.513; OKLCH L 79.3% C 0.108 H 122.5°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#AFC777
RGBrgb(175, 199, 119)
HSLhsl(78, 42%, 62%)
HSVhsv(78, 40%, 78%)
CMYKcmyk(12.1%, 0%, 40.2%, 22%)
CIE-LABlab(76.86, -21.13, 37.36)
CIE-LCHlch(76.86, 42.92, 119.49°)
OKLaboklab(79.31% -0.0582 0.0913)
OKLCHoklch(79.31% 0.108 122.5)
XYZxyz(41.4323, 51.2927, 25.1669)
Luminance0.5129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC777 #8F77C7
analogous
#C7B777 #AFC777 #87C777
triadic
#AFC777 #77AFC7 #C777AF
tetradic
#AFC777 #77C7B7 #8F77C7 #C77787
square
#AFC777 #77C7B7 #8F77C7 #C77787
split-complementary
#AFC777 #7787C7 #B777C7
monochromatic
#728B39 #96B54C #AFC777 #C9D9A2 #E2EBCE

Accessibility & contrast

On white

1.87
#AFC777 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#AFC777 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC777
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC777#FFFFFF#000000##000000
##AFC7771.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE71
Deuteranopia (green-blind)
#CCBE7B
Tritanopia (blue-blind)
#B5C0B3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afc777;
/* rgb */ color: rgb(175, 199, 119);
/* oklch */ color: oklch(79.3% 0.108 122.5);
Tailwind
colors: {
  custom: {
    50: '#c8d89f',
    500: '#afc777',
    950: '#000000',
  },
}
SCSS
$custom: #afc777;
$custom-light: #c8d89f;
$custom-dark: #000000;
JSON
{
  "hex": "#afc777",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 119
  },
  "hsl": {
    "h": 78,
    "s": 41.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.79308,
    "c": 0.10825,
    "h": 122.5
  },
  "luminance": 0.51293
}

Semantic roles & 50–950 ramp

primary
#AFC777
secondary
#645092
accent
#31B558
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFC777

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

Preview Lab → · Contrast checker → · Palette generator →

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