#AFEC70#AFEC70

#AFEC70 is a very light, vivid yellow-green. Relative luminance 0.703; OKLCH L 87.6% C 0.167 H 130.9°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#AFEC70
RGBrgb(175, 236, 112)
HSLhsl(90, 77%, 68%)
HSVhsv(90, 53%, 93%)
CMYKcmyk(25.8%, 0%, 52.5%, 7.5%)
CIE-LABlab(87.13, -39.30, 53.38)
CIE-LCHlch(87.13, 66.28, 126.36°)
OKLaboklab(87.56% -0.1094 0.1266)
OKLCHoklch(87.56% 0.167 130.9)
XYZxyz(50.5987, 70.2734, 26.2244)
Luminance0.7027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC70 #AD70EC
analogous
#ECEB70 #AFEC70 #71EC70
triadic
#AFEC70 #70AFEC #EC70AF
tetradic
#AFEC70 #70ECEB #AD70EC #EC7071
square
#AFEC70 #70ECEB #AD70EC #EC7071
split-complementary
#AFEC70 #7071EC #EB70EC
monochromatic
#72C71A #91E53A #AFEC70 #CDF3A6 #EBFADC

Accessibility & contrast

On white

1.39
#AFEC70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#AFEC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC70
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC70#FFFFFF#000000##000000
##AFEC701.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD64
Deuteranopia (green-blind)
#ECD978
Tritanopia (blue-blind)
#B2E3D0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afec70;
/* rgb */ color: rgb(175, 236, 112);
/* oklch */ color: oklch(87.6% 0.167 130.9);
Tailwind
colors: {
  custom: {
    50: '#caf29c',
    500: '#afec70',
    950: '#000000',
  },
}
SCSS
$custom: #afec70;
$custom-light: #caf29c;
$custom-dark: #000000;
JSON
{
  "hex": "#afec70",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 112
  },
  "hsl": {
    "h": 89.516,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.87555,
    "c": 0.1673,
    "h": 130.9
  },
  "luminance": 0.70275
}

Semantic roles & 50–950 ramp

primary
#AFEC70
secondary
#7F3CC4
accent
#0DD971
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170E
muted
#83857F

Preview Lab

Preview with #AFEC70

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

Preview Lab → · Contrast checker → · Palette generator →

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