#AFE377#AFE377

#AFE377 is a very light, vivid yellow-green. Relative luminance 0.654; OKLCH L 85.6% C 0.148 H 130.1°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#AFE377
RGBrgb(175, 227, 119)
HSLhsl(89, 66%, 68%)
HSVhsv(89, 48%, 89%)
CMYKcmyk(22.9%, 0%, 47.6%, 11%)
CIE-LABlab(84.68, -34.48, 47.14)
CIE-LCHlch(84.68, 58.41, 126.18°)
OKLaboklab(85.6% -0.0956 0.1133)
OKLCHoklch(85.6% 0.148 130.1)
XYZxyz(48.4775, 65.3830, 27.5153)
Luminance0.6538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE377 #AB77E3
analogous
#E3E177 #AFE377 #79E377
triadic
#AFE377 #77AFE3 #E377AF
tetradic
#AFE377 #77E3E1 #AB77E3 #E37779
square
#AFE377 #77E3E1 #AB77E3 #E37779
split-complementary
#AFE377 #7779E3 #E177E3
monochromatic
#73B926 #91D944 #AFE377 #CDEDAA #EBF8DD

Accessibility & contrast

On white

1.49
#AFE377 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.08
#AFE377 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE377
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE377#FFFFFF#000000##000000
##AFE3771.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66E
Deuteranopia (green-blind)
#E4D27D
Tritanopia (blue-blind)
#B2DBCA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe377;
/* rgb */ color: rgb(175, 227, 119);
/* oklch */ color: oklch(85.6% 0.148 130.1);
Tailwind
colors: {
  custom: {
    50: '#c9eca0',
    500: '#afe377',
    950: '#000000',
  },
}
SCSS
$custom: #afe377;
$custom-light: #c9eca0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe377",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 119
  },
  "hsl": {
    "h": 88.889,
    "s": 65.854,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85601,
    "c": 0.14824,
    "h": 130.1
  },
  "luminance": 0.65384
}

Semantic roles & 50–950 ramp

primary
#AFE377
secondary
#7D45BA
accent
#18CE6F
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE377

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

Preview Lab → · Contrast checker → · Palette generator →

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