#AFCC77#AFCC77

#AFCC77 is a light, moderate yellow-green. Relative luminance 0.536; OKLCH L 80.4% C 0.115 H 124.3°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#AFCC77
RGBrgb(175, 204, 119)
HSLhsl(80, 45%, 63%)
HSVhsv(80, 42%, 80%)
CMYKcmyk(14.2%, 0%, 41.7%, 20%)
CIE-LABlab(78.25, -23.59, 39.12)
CIE-LCHlch(78.25, 45.68, 121.08°)
OKLaboklab(80.42% -0.0651 0.0953)
OKLCHoklch(80.42% 0.115 124.3)
XYZxyz(42.6017, 53.6314, 25.5567)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC77 #9477CC
analogous
#CCBF77 #AFCC77 #84CC77
triadic
#AFCC77 #77AFCC #CC77AF
tetradic
#AFCC77 #77CCBF #9477CC #CC7784
square
#AFCC77 #77CCBF #9477CC #CC7784
split-complementary
#AFCC77 #7784CC #BF77CC
monochromatic
#739237 #95BB4A #AFCC77 #C9DDA4 #E3EDD0

Accessibility & contrast

On white

1.79
#AFCC77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#AFCC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC77
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC77#FFFFFF#000000##000000
##AFCC771.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C270
Deuteranopia (green-blind)
#D1C17B
Tritanopia (blue-blind)
#B4C5B7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcc77;
/* rgb */ color: rgb(175, 204, 119);
/* oklch */ color: oklch(80.4% 0.115 124.3);
Tailwind
colors: {
  custom: {
    50: '#c8db9f',
    500: '#afcc77',
    950: '#000000',
  },
}
SCSS
$custom: #afcc77;
$custom-light: #c8db9f;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc77",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 119
  },
  "hsl": {
    "h": 80.471,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.80422,
    "c": 0.11543,
    "h": 124.3
  },
  "luminance": 0.53632
}

Semantic roles & 50–950 ramp

primary
#AFCC77
secondary
#684F98
accent
#2DB95D
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCC77

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

Preview Lab → · Contrast checker → · Palette generator →

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