#AFC779#AFC779

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

Color values

HEX#AFC779
RGBrgb(175, 199, 121)
HSLhsl(78, 41%, 63%)
HSVhsv(78, 39%, 78%)
CMYKcmyk(12.1%, 0%, 39.2%, 22%)
CIE-LABlab(76.89, -20.88, 36.38)
CIE-LCHlch(76.89, 41.94, 119.86°)
OKLaboklab(79.34% -0.0574 0.0891)
OKLCHoklch(79.34% 0.106 122.8)
XYZxyz(41.5537, 51.3412, 25.8062)
Luminance0.5134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC779 #9179C7
analogous
#C7B879 #AFC779 #88C779
triadic
#AFC779 #79AFC7 #C779AF
tetradic
#AFC779 #79C7B8 #9179C7 #C77988
square
#AFC779 #79C7B8 #9179C7 #C77988
split-complementary
#AFC779 #7988C7 #B879C7
monochromatic
#728B3A #95B54E #AFC779 #C9D9A4 #E3EBCF

Accessibility & contrast

On white

1.86
#AFC779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#AFC779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC779
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC779#FFFFFF#000000##000000
##AFC7791.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBE73
Deuteranopia (green-blind)
#CCBE7D
Tritanopia (blue-blind)
#B5C0B4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afc779;
/* rgb */ color: rgb(175, 199, 121);
/* oklch */ color: oklch(79.3% 0.106 122.8);
Tailwind
colors: {
  custom: {
    50: '#c8d8a1',
    500: '#afc779',
    950: '#000000',
  },
}
SCSS
$custom: #afc779;
$custom-light: #c8d8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afc779",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 121
  },
  "hsl": {
    "h": 78.462,
    "s": 41.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.79341,
    "c": 0.10601,
    "h": 122.8
  },
  "luminance": 0.51341
}

Semantic roles & 50–950 ramp

primary
#AFC779
secondary
#655193
accent
#31B45A
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140F
muted
#828380

Preview Lab

Preview with #AFC779

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

Preview Lab → · Contrast checker → · Palette generator →

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