#AFD76F#AFD76F

#AFD76F is a very light, vivid yellow-green. Relative luminance 0.589; OKLCH L 82.8% C 0.139 H 126.6°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#AFD76F
RGBrgb(175, 215, 111)
HSLhsl(83, 57%, 64%)
HSVhsv(83, 48%, 84%)
CMYKcmyk(18.6%, 0%, 48.4%, 15.7%)
CIE-LABlab(81.22, -29.77, 46.74)
CIE-LCHlch(81.22, 55.42, 122.50°)
OKLaboklab(82.78% -0.083 0.1119)
OKLCHoklch(82.78% 0.139 126.6)
XYZxyz(44.8487, 58.8620, 24.0345)
Luminance0.5886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD76F #976FD7
analogous
#D7CB6F #AFD76F #7BD76F
triadic
#AFD76F #6FAFD7 #D76FAF
tetradic
#AFD76F #6FD7CB #976FD7 #D76F7B
square
#AFD76F #6FD7CB #976FD7 #D76F7B
split-complementary
#AFD76F #6F7BD7 #CB6FD7
monochromatic
#739F2C #94CA3F #AFD76F #CAE49F #E4F2CF

Accessibility & contrast

On white

1.64
#AFD76F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#AFD76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD76F
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD76F#FFFFFF#000000##000000
##AFD76F1.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB66
Deuteranopia (green-blind)
#DBC975
Tritanopia (blue-blind)
#B4CFBF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd76f;
/* rgb */ color: rgb(175, 215, 111);
/* oklch */ color: oklch(82.8% 0.139 126.6);
Tailwind
colors: {
  custom: {
    50: '#c9e39a',
    500: '#afd76f',
    950: '#000000',
  },
}
SCSS
$custom: #afd76f;
$custom-light: #c9e39a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd76f",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 111
  },
  "hsl": {
    "h": 83.077,
    "s": 56.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82775,
    "c": 0.13934,
    "h": 126.6
  },
  "luminance": 0.58863
}

Semantic roles & 50–950 ramp

primary
#AFD76F
secondary
#6A47A3
accent
#21C460
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD76F

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

Preview Lab → · Contrast checker → · Palette generator →

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