#AFE34D#AFE34D

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

Color values

HEX#AFE34D
RGBrgb(175, 227, 77)
HSLhsl(81, 73%, 60%)
HSVhsv(81, 66%, 89%)
CMYKcmyk(22.9%, 0%, 66.1%, 11%)
CIE-LABlab(84.27, -38.25, 65.11)
CIE-LCHlch(84.27, 75.51, 120.44°)
OKLaboklab(85.14% -0.1094 0.1479)
OKLCHoklch(85.14% 0.184 126.5)
XYZxyz(46.4880, 64.5872, 17.0371)
Luminance0.6459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE34D #814DE3
analogous
#E3CC4D #AFE34D #64E34D
triadic
#AFE34D #4DAFE3 #E34DAF
tetradic
#AFE34D #4DE3CC #814DE3 #E34D64
square
#AFE34D #4DE3CC #814DE3 #E34D64
split-complementary
#AFE34D #4D64E3 #CC4DE3
monochromatic
#6F9D19 #95D221 #AFE34D #C7EB82 #DFF4B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE34D#FFFFFF#000000##000000
##AFE34D1.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)
#EED438
Deuteranopia (green-blind)
#E7D159
Tritanopia (blue-blind)
#B6D9C5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe34d;
/* rgb */ color: rgb(175, 227, 77);
/* oklch */ color: oklch(85.1% 0.184 126.5);
Tailwind
colors: {
  custom: {
    50: '#caec86',
    500: '#afe34d',
    950: '#000000',
  },
}
SCSS
$custom: #afe34d;
$custom-light: #caec86;
$custom-dark: #000000;
JSON
{
  "hex": "#afe34d",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 77
  },
  "hsl": {
    "h": 80.8,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.85137,
    "c": 0.18395,
    "h": 126.5
  },
  "luminance": 0.64588
}

Semantic roles & 50–950 ramp

primary
#AFE34D
secondary
#5A34A0
accent
#38F078
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE34D

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

Preview Lab → · Contrast checker → · Palette generator →

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