#AFE34C#AFE34C

#AFE34C is a very light, vivid yellow-green. Relative luminance 0.646; OKLCH L 85.1% C 0.185 H 126.4°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#AFE34C
RGBrgb(175, 227, 76)
HSLhsl(81, 73%, 59%)
HSVhsv(81, 67%, 89%)
CMYKcmyk(22.9%, 0%, 66.5%, 11%)
CIE-LABlab(84.26, -38.32, 65.49)
CIE-LCHlch(84.26, 75.87, 120.34°)
OKLaboklab(85.13% -0.1097 0.1485)
OKLCHoklch(85.13% 0.185 126.4)
XYZxyz(46.4529, 64.5732, 16.8526)
Luminance0.6457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE34C #804CE3
analogous
#E3CB4C #AFE34C #64E34C
triadic
#AFE34C #4CAFE3 #E34CAF
tetradic
#AFE34C #4CE3CB #804CE3 #E34C64
square
#AFE34C #4CE3CB #804CE3 #E34C64
split-complementary
#AFE34C #4C64E3 #CB4CE3
monochromatic
#6F9C18 #94D121 #AFE34C #C7EB81 #DEF4B6

Accessibility & contrast

On white

1.51
#AFE34C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#AFE34C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE34C
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE34C#FFFFFF#000000##000000
##AFE34C1.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED436
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#B6D9C4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe34c;
/* rgb */ color: rgb(175, 227, 76);
/* oklch */ color: oklch(85.1% 0.185 126.4);
Tailwind
colors: {
  custom: {
    50: '#caec86',
    500: '#afe34c',
    950: '#000000',
  },
}
SCSS
$custom: #afe34c;
$custom-light: #caec86;
$custom-dark: #000000;
JSON
{
  "hex": "#afe34c",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 76
  },
  "hsl": {
    "h": 80.662,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85129,
    "c": 0.18464,
    "h": 126.4
  },
  "luminance": 0.64574
}

Semantic roles & 50–950 ramp

primary
#AFE34C
secondary
#5934A0
accent
#38F077
background
#FEFEFC
surface
#FBFDF3
border
#D4D5CD
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE34C

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

Preview Lab → · Contrast checker → · Palette generator →

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