#AFE34E#AFE34E

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

Color values

HEX#AFE34E
RGBrgb(175, 227, 78)
HSLhsl(81, 73%, 60%)
HSVhsv(81, 66%, 89%)
CMYKcmyk(22.9%, 0%, 65.6%, 11%)
CIE-LABlab(84.28, -38.19, 64.73)
CIE-LCHlch(84.28, 75.15, 120.54°)
OKLaboklab(85.15% -0.1091 0.1472)
OKLCHoklch(85.15% 0.183 126.6)
XYZxyz(46.5235, 64.6015, 17.2245)
Luminance0.6460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE34E #824EE3
analogous
#E3CD4E #AFE34E #64E34E
triadic
#AFE34E #4EAFE3 #E34EAF
tetradic
#AFE34E #4EE3CD #824EE3 #E34E64
square
#AFE34E #4EE3CD #824EE3 #E34E64
split-complementary
#AFE34E #4E64E3 #CD4EE3
monochromatic
#6F9E19 #95D321 #AFE34E #C7EB83 #DFF4B8

Accessibility & contrast

On white

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

On black

13.92
#AFE34E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE34E
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE34E#FFFFFF#000000##000000
##AFE34E1.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED439
Deuteranopia (green-blind)
#E7D15A
Tritanopia (blue-blind)
#B6D9C5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe34e;
/* rgb */ color: rgb(175, 227, 78);
/* oklch */ color: oklch(85.1% 0.183 126.6);
Tailwind
colors: {
  custom: {
    50: '#caec87',
    500: '#afe34e',
    950: '#000000',
  },
}
SCSS
$custom: #afe34e;
$custom-light: #caec87;
$custom-dark: #000000;
JSON
{
  "hex": "#afe34e",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 78
  },
  "hsl": {
    "h": 80.94,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85145,
    "c": 0.18326,
    "h": 126.6
  },
  "luminance": 0.64602
}

Semantic roles & 50–950 ramp

primary
#AFE34E
secondary
#5A34A1
accent
#38EF78
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE34E

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

Preview Lab → · Contrast checker → · Palette generator →

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