#AFE34A#AFE34A

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

Color values

HEX#AFE34A
RGBrgb(175, 227, 74)
HSLhsl(80, 73%, 59%)
HSVhsv(80, 67%, 89%)
CMYKcmyk(22.9%, 0%, 67.4%, 11%)
CIE-LABlab(84.25, -38.45, 66.23)
CIE-LCHlch(84.25, 76.59, 120.14°)
OKLaboklab(85.11% -0.1102 0.1498)
OKLCHoklch(85.11% 0.186 126.3)
XYZxyz(46.3845, 64.5458, 16.4921)
Luminance0.6455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE34A #7E4AE3
analogous
#E3CB4A #AFE34A #63E34A
triadic
#AFE34A #4AAFE3 #E34AAF
tetradic
#AFE34A #4AE3CB #7E4AE3 #E34A63
square
#AFE34A #4AE3CB #7E4AE3 #E34A63
split-complementary
#AFE34A #4A63E3 #CB4AE3
monochromatic
#6E9B18 #94D020 #AFE34A #C6EB7F #DEF3B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE34A#FFFFFF#000000##000000
##AFE34A1.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)
#EFD433
Deuteranopia (green-blind)
#E7D157
Tritanopia (blue-blind)
#B6D9C4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe34a;
/* rgb */ color: rgb(175, 227, 74);
/* oklch */ color: oklch(85.1% 0.186 126.3);
Tailwind
colors: {
  custom: {
    50: '#cbec84',
    500: '#afe34a',
    950: '#000000',
  },
}
SCSS
$custom: #afe34a;
$custom-light: #cbec84;
$custom-dark: #000000;
JSON
{
  "hex": "#afe34a",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 74
  },
  "hsl": {
    "h": 80.392,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85113,
    "c": 0.18601,
    "h": 126.3
  },
  "luminance": 0.64547
}

Semantic roles & 50–950 ramp

primary
#AFE34A
secondary
#57339E
accent
#38F076
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFE34A

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

Preview Lab → · Contrast checker → · Palette generator →

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