#AFD377#AFD377

#AFD377 is a light, vivid yellow-green. Relative luminance 0.570; OKLCH L 82.0% C 0.125 H 126.5°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#AFD377
RGBrgb(175, 211, 119)
HSLhsl(83, 51%, 65%)
HSVhsv(83, 44%, 83%)
CMYKcmyk(17.1%, 0%, 43.6%, 17.3%)
CIE-LABlab(80.20, -26.97, 41.58)
CIE-LCHlch(80.20, 49.57, 122.97°)
OKLaboklab(81.99% -0.0746 0.1009)
OKLCHoklch(81.99% 0.125 126.5)
XYZxyz(44.3029, 57.0340, 26.1238)
Luminance0.5703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD377 #9B77D3
analogous
#D3C977 #AFD377 #81D377
triadic
#AFD377 #77AFD3 #D377AF
tetradic
#AFD377 #77D3C9 #9B77D3 #D37781
square
#AFD377 #77D3C9 #9B77D3 #D37781
split-complementary
#AFD377 #7781D3 #C977D3
monochromatic
#739D33 #94C449 #AFD377 #CAE2A5 #E5F1D3

Accessibility & contrast

On white

1.69
#AFD377 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#AFD377 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD377
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD377#FFFFFF#000000##000000
##AFD3771.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC870
Deuteranopia (green-blind)
#D7C67C
Tritanopia (blue-blind)
#B4CBBD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd377;
/* rgb */ color: rgb(175, 211, 119);
/* oklch */ color: oklch(82.0% 0.125 126.5);
Tailwind
colors: {
  custom: {
    50: '#c8e0a0',
    500: '#afd377',
    950: '#000000',
  },
}
SCSS
$custom: #afd377;
$custom-light: #c8e0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afd377",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 119
  },
  "hsl": {
    "h": 83.478,
    "s": 51.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8199,
    "c": 0.12548,
    "h": 126.5
  },
  "luminance": 0.57034
}

Semantic roles & 50–950 ramp

primary
#AFD377
secondary
#6E4CA2
accent
#27BE62
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD377

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

Preview Lab → · Contrast checker → · Palette generator →

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