#AFEC56#AFEC56

#AFEC56 is a very light, vivid yellow-green. Relative luminance 0.698; OKLCH L 87.3% C 0.189 H 128.6°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#AFEC56
RGBrgb(175, 236, 86)
HSLhsl(84, 80%, 63%)
HSVhsv(84, 64%, 93%)
CMYKcmyk(25.8%, 0%, 63.6%, 7.5%)
CIE-LABlab(86.89, -41.60, 64.33)
CIE-LCHlch(86.89, 76.61, 122.89°)
OKLaboklab(87.28% -0.1179 0.1474)
OKLCHoklch(87.28% 0.189 128.6)
XYZxyz(49.3542, 69.7756, 19.6701)
Luminance0.6978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC56 #9356EC
analogous
#ECDE56 #AFEC56 #64EC56
triadic
#AFEC56 #56AFEC #EC56AF
tetradic
#AFEC56 #56ECDE #9356EC #EC5664
square
#AFEC56 #56ECDE #9356EC #EC5664
split-complementary
#AFEC56 #5664EC #DE56EC
monochromatic
#73B314 #95E61F #AFEC56 #C9F28D #E3F8C4

Accessibility & contrast

On white

1.40
#AFEC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#AFEC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC56
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC56#FFFFFF#000000##000000
##AFEC561.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC43
Deuteranopia (green-blind)
#EED862
Tritanopia (blue-blind)
#B4E2CD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afec56;
/* rgb */ color: rgb(175, 236, 86);
/* oklch */ color: oklch(87.3% 0.189 128.6);
Tailwind
colors: {
  custom: {
    50: '#cbf28c',
    500: '#afec56',
    950: '#000000',
  },
}
SCSS
$custom: #afec56;
$custom-light: #cbf28c;
$custom-dark: #000000;
JSON
{
  "hex": "#afec56",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 86
  },
  "hsl": {
    "h": 84.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.87279,
    "c": 0.18872,
    "h": 128.6
  },
  "luminance": 0.69777
}

Semantic roles & 50–950 ramp

primary
#AFEC56
secondary
#6733B3
accent
#09DC5F
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170C
muted
#83857F

Preview Lab

Preview with #AFEC56

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

Preview Lab → · Contrast checker → · Palette generator →

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