#AFC77B#AFC77B

#AFC77B is a light, moderate yellow-green. Relative luminance 0.514; OKLCH L 79.4% C 0.104 H 123.0°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#AFC77B
RGBrgb(175, 199, 123)
HSLhsl(79, 40%, 63%)
HSVhsv(79, 38%, 78%)
CMYKcmyk(12.1%, 0%, 38.2%, 22%)
CIE-LABlab(76.92, -20.64, 35.39)
CIE-LCHlch(76.92, 40.97, 120.24°)
OKLaboklab(79.38% -0.0566 0.087)
OKLCHoklch(79.38% 0.104 123)
XYZxyz(41.6776, 51.3908, 26.4588)
Luminance0.5139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC77B #937BC7
analogous
#C7B97B #AFC77B #89C77B
triadic
#AFC77B #7BAFC7 #C77BAF
tetradic
#AFC77B #7BC7B9 #937BC7 #C77B89
square
#AFC77B #7BC7B9 #937BC7 #C77B89
split-complementary
#AFC77B #7B89C7 #B97BC7
monochromatic
#738C3B #95B550 #AFC77B #C9D9A6 #E3EBD1

Accessibility & contrast

On white

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

On black

11.28
#AFC77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC77B
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC77B#FFFFFF#000000##000000
##AFC77B1.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBE75
Deuteranopia (green-blind)
#CCBE7F
Tritanopia (blue-blind)
#B4C0B4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afc77b;
/* rgb */ color: rgb(175, 199, 123);
/* oklch */ color: oklch(79.4% 0.104 123.0);
Tailwind
colors: {
  custom: {
    50: '#c8d8a2',
    500: '#afc77b',
    950: '#000000',
  },
}
SCSS
$custom: #afc77b;
$custom-light: #c8d8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#afc77b",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 123
  },
  "hsl": {
    "h": 78.947,
    "s": 40.426,
    "l": 63.137
  },
  "oklch": {
    "l": 0.79375,
    "c": 0.10374,
    "h": 123
  },
  "luminance": 0.51391
}

Semantic roles & 50–950 ramp

primary
#AFC77B
secondary
#675394
accent
#32B35B
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140F
muted
#828380

Preview Lab

Preview with #AFC77B

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

Preview Lab → · Contrast checker → · Palette generator →

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