#AFEF5F#AFEF5F

#AFEF5F is a very light, vivid yellow-green. Relative luminance 0.717; OKLCH L 88.1% C 0.186 H 129.8°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#AFEF5F
RGBrgb(175, 239, 95)
HSLhsl(87, 82%, 65%)
HSVhsv(87, 60%, 94%)
CMYKcmyk(26.8%, 0%, 60.3%, 6.3%)
CIE-LABlab(87.81, -42.19, 61.64)
CIE-LCHlch(87.81, 74.70, 124.39°)
OKLaboklab(88.05% -0.1188 0.1427)
OKLCHoklch(88.05% 0.186 129.8)
XYZxyz(50.6109, 71.6719, 21.9918)
Luminance0.7167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF5F #9F5FEF
analogous
#EFE75F #AFEF5F #67EF5F
triadic
#AFEF5F #5FAFEF #EF5FAF
tetradic
#AFEF5F #5FEFE7 #9F5FEF #EF5F67
square
#AFEF5F #5FEFE7 #9F5FEF #EF5F67
split-complementary
#AFEF5F #5F67EF #E75FEF
monochromatic
#73C013 #93E927 #AFEF5F #CBF597 #E7FACE

Accessibility & contrast

On white

1.37
#AFEF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.33
#AFEF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF5F
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF5F#FFFFFF#000000##000000
##AFEF5F1.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4F
Deuteranopia (green-blind)
#F0DB6A
Tritanopia (blue-blind)
#B3E5D0
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #afef5f;
/* rgb */ color: rgb(175, 239, 95);
/* oklch */ color: oklch(88.1% 0.186 129.8);
Tailwind
colors: {
  custom: {
    50: '#caf492',
    500: '#afef5f',
    950: '#000000',
  },
}
SCSS
$custom: #afef5f;
$custom-light: #caf492;
$custom-dark: #000000;
JSON
{
  "hex": "#afef5f",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 95
  },
  "hsl": {
    "h": 86.667,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.88052,
    "c": 0.18568,
    "h": 129.8
  },
  "luminance": 0.71673
}

Semantic roles & 50–950 ramp

primary
#AFEF5F
secondary
#7134BE
accent
#07DE67
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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