#AFE379#AFE379

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

Color values

HEX#AFE379
RGBrgb(175, 227, 121)
HSLhsl(89, 65%, 68%)
HSVhsv(89, 47%, 89%)
CMYKcmyk(22.9%, 0%, 46.7%, 11%)
CIE-LABlab(84.71, -34.25, 46.21)
CIE-LCHlch(84.71, 57.52, 126.55°)
OKLaboklab(85.63% -0.0948 0.1114)
OKLCHoklch(85.63% 0.146 130.4)
XYZxyz(48.5989, 65.4316, 28.1545)
Luminance0.6543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE379 #AD79E3
analogous
#E3E279 #AFE379 #7AE379
triadic
#AFE379 #79AFE3 #E379AF
tetradic
#AFE379 #79E3E2 #AD79E3 #E3797A
square
#AFE379 #79E3E2 #AD79E3 #E3797A
split-complementary
#AFE379 #797AE3 #E279E3
monochromatic
#72BB27 #91D846 #AFE379 #CDEEAC #EBF8DE

Accessibility & contrast

On white

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

On black

14.09
#AFE379 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE379
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE379#FFFFFF#000000##000000
##AFE3791.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe379;
/* rgb */ color: rgb(175, 227, 121);
/* oklch */ color: oklch(85.6% 0.146 130.4);
Tailwind
colors: {
  custom: {
    50: '#c9eca1',
    500: '#afe379',
    950: '#000000',
  },
}
SCSS
$custom: #afe379;
$custom-light: #c9eca1;
$custom-dark: #000000;
JSON
{
  "hex": "#afe379",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 121
  },
  "hsl": {
    "h": 89.434,
    "s": 65.432,
    "l": 68.235
  },
  "oklch": {
    "l": 0.85629,
    "c": 0.14627,
    "h": 130.4
  },
  "luminance": 0.65433
}

Semantic roles & 50–950 ramp

primary
#AFE379
secondary
#7F46BA
accent
#18CD71
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE379

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

Preview Lab → · Contrast checker → · Palette generator →

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