#AFC76D#AFC76D

#AFC76D is a light, moderate yellow-green. Relative luminance 0.511; OKLCH L 79.2% C 0.119 H 121.4°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#AFC76D
RGBrgb(175, 199, 109)
HSLhsl(76, 45%, 60%)
HSVhsv(76, 45%, 78%)
CMYKcmyk(12.1%, 0%, 45.2%, 22%)
CIE-LABlab(76.72, -22.28, 42.20)
CIE-LCHlch(76.72, 47.72, 117.83°)
OKLaboklab(79.15% -0.0621 0.1017)
OKLCHoklch(79.15% 0.119 121.4)
XYZxyz(40.8630, 51.0649, 22.1688)
Luminance0.5107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC76D #856DC7
analogous
#C7B26D #AFC76D #82C76D
triadic
#AFC76D #6DAFC7 #C76DAF
tetradic
#AFC76D #6DC7B2 #856DC7 #C76D82
square
#AFC76D #6DC7B2 #856DC7 #C76D82
split-complementary
#AFC76D #6D82C7 #B26DC7
monochromatic
#708633 #95B244 #AFC76D #C7D899 #DFE9C5

Accessibility & contrast

On white

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

On black

11.21
#AFC76D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC76D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC76D#FFFFFF#000000##000000
##AFC76D1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BE66
Deuteranopia (green-blind)
#CEBD72
Tritanopia (blue-blind)
#B6BFB2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc76d;
/* rgb */ color: rgb(175, 199, 109);
/* oklch */ color: oklch(79.2% 0.119 121.4);
Tailwind
colors: {
  custom: {
    50: '#c8d898',
    500: '#afc76d',
    950: '#000000',
  },
}
SCSS
$custom: #afc76d;
$custom-light: #c8d898;
$custom-dark: #000000;
JSON
{
  "hex": "#afc76d",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 109
  },
  "hsl": {
    "h": 76,
    "s": 44.554,
    "l": 60.392
  },
  "oklch": {
    "l": 0.79153,
    "c": 0.11916,
    "h": 121.4
  },
  "luminance": 0.51065
}

Semantic roles & 50–950 ramp

primary
#AFC76D
secondary
#5C4A8E
accent
#2EB853
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFC76D

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

Preview Lab → · Contrast checker → · Palette generator →

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