#AFE34F#AFE34F

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

Color values

HEX#AFE34F
RGBrgb(175, 227, 79)
HSLhsl(81, 73%, 60%)
HSVhsv(81, 65%, 89%)
CMYKcmyk(22.9%, 0%, 65.2%, 11%)
CIE-LABlab(84.29, -38.12, 64.34)
CIE-LCHlch(84.29, 74.78, 120.64°)
OKLaboklab(85.15% -0.1089 0.1465)
OKLCHoklch(85.15% 0.183 126.6)
XYZxyz(46.5597, 64.6159, 17.4148)
Luminance0.6462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE34F #834FE3
analogous
#E3CD4F #AFE34F #65E34F
triadic
#AFE34F #4FAFE3 #E34FAF
tetradic
#AFE34F #4FE3CD #834FE3 #E34F65
square
#AFE34F #4FE3CD #834FE3 #E34F65
split-complementary
#AFE34F #4F65E3 #CD4FE3
monochromatic
#709E19 #95D322 #AFE34F #C7EB84 #DFF4B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE34F#FFFFFF#000000##000000
##AFE34F1.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)
#EED43B
Deuteranopia (green-blind)
#E7D15B
Tritanopia (blue-blind)
#B6D9C5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe34f;
/* rgb */ color: rgb(175, 227, 79);
/* oklch */ color: oklch(85.2% 0.183 126.6);
Tailwind
colors: {
  custom: {
    50: '#caec87',
    500: '#afe34f',
    950: '#000000',
  },
}
SCSS
$custom: #afe34f;
$custom-light: #caec87;
$custom-dark: #000000;
JSON
{
  "hex": "#afe34f",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 79
  },
  "hsl": {
    "h": 81.081,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.85154,
    "c": 0.18255,
    "h": 126.6
  },
  "luminance": 0.64617
}

Semantic roles & 50–950 ramp

primary
#AFE34F
secondary
#5B35A1
accent
#39EF79
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE34F

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

Preview Lab → · Contrast checker → · Palette generator →

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