#AFEF70#AFEF70

#AFEF70 is a very light, vivid yellow-green. Relative luminance 0.720; OKLCH L 88.2% C 0.171 H 131.3°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#AFEF70
RGBrgb(175, 239, 112)
HSLhsl(90, 80%, 69%)
HSVhsv(90, 53%, 94%)
CMYKcmyk(26.8%, 0%, 53.1%, 6.3%)
CIE-LABlab(87.98, -40.63, 54.38)
CIE-LCHlch(87.98, 67.88, 126.77°)
OKLaboklab(88.24% -0.1131 0.1287)
OKLCHoklch(88.24% 0.171 131.3)
XYZxyz(51.4697, 72.0154, 26.5147)
Luminance0.7202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF70 #B070EF
analogous
#EFEF70 #AFEF70 #70EF71
triadic
#AFEF70 #70AFEF #EF70AF
tetradic
#AFEF70 #70EFEF #B070EF #EF7170
square
#AFEF70 #70EFEF #B070EF #EF7170
split-complementary
#AFEF70 #7170EF #EF70EF
monochromatic
#72CE17 #90E939 #AFEF70 #CEF5A7 #EDFBDE

Accessibility & contrast

On white

1.36
#AFEF70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.40
#AFEF70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF70
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF70#FFFFFF#000000##000000
##AFEF701.001.3615.4015.40
#FFFFFF1.361.0021.0021.00
#00000015.4021.001.001.00
##00000015.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E064
Deuteranopia (green-blind)
#EFDB78
Tritanopia (blue-blind)
#B2E6D3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #afef70;
/* rgb */ color: rgb(175, 239, 112);
/* oklch */ color: oklch(88.2% 0.171 131.3);
Tailwind
colors: {
  custom: {
    50: '#caf49c',
    500: '#afef70',
    950: '#000000',
  },
}
SCSS
$custom: #afef70;
$custom-light: #caf49c;
$custom-dark: #000000;
JSON
{
  "hex": "#afef70",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 112
  },
  "hsl": {
    "h": 90.236,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.8824,
    "c": 0.17136,
    "h": 131.3
  },
  "luminance": 0.72017
}

Semantic roles & 50–950 ramp

primary
#AFEF70
secondary
#823BC8
accent
#09DC74
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170E
muted
#83857F

Preview Lab

Preview with #AFEF70

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

Preview Lab → · Contrast checker → · Palette generator →

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