#AFD76C#AFD76C

#AFD76C is a very light, vivid yellow-green. Relative luminance 0.588; OKLCH L 82.7% C 0.142 H 126.2°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#AFD76C
RGBrgb(175, 215, 108)
HSLhsl(82, 57%, 63%)
HSVhsv(82, 50%, 84%)
CMYKcmyk(18.6%, 0%, 49.8%, 15.7%)
CIE-LABlab(81.18, -30.09, 48.13)
CIE-LCHlch(81.18, 56.76, 122.01°)
OKLaboklab(82.73% -0.0841 0.1148)
OKLCHoklch(82.73% 0.142 126.2)
XYZxyz(44.6863, 58.7970, 23.1792)
Luminance0.5880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD76C #946CD7
analogous
#D7C96C #AFD76C #79D76C
triadic
#AFD76C #6CAFD7 #D76CAF
tetradic
#AFD76C #6CD7C9 #946CD7 #D76C79
square
#AFD76C #6CD7C9 #946CD7 #D76C79
split-complementary
#AFD76C #6C79D7 #C96CD7
monochromatic
#739E2B #95CA3C #AFD76C #C9E49C #E3F1CC

Accessibility & contrast

On white

1.65
#AFD76C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#AFD76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD76C
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD76C#FFFFFF#000000##000000
##AFD76C1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB62
Deuteranopia (green-blind)
#DBC972
Tritanopia (blue-blind)
#B5CFBE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd76c;
/* rgb */ color: rgb(175, 215, 108);
/* oklch */ color: oklch(82.7% 0.142 126.2);
Tailwind
colors: {
  custom: {
    50: '#c9e398',
    500: '#afd76c',
    950: '#000000',
  },
}
SCSS
$custom: #afd76c;
$custom-light: #c9e398;
$custom-dark: #000000;
JSON
{
  "hex": "#afd76c",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 108
  },
  "hsl": {
    "h": 82.43,
    "s": 57.219,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82734,
    "c": 0.14229,
    "h": 126.2
  },
  "luminance": 0.58798
}

Semantic roles & 50–950 ramp

primary
#AFD76C
secondary
#6845A2
accent
#21C55E
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD76C

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

Preview Lab → · Contrast checker → · Palette generator →

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