#AFEC58#AFEC58

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

Color values

HEX#AFEC58
RGBrgb(175, 236, 88)
HSLhsl(85, 80%, 64%)
HSVhsv(85, 63%, 93%)
CMYKcmyk(25.8%, 0%, 62.7%, 7.5%)
CIE-LABlab(86.90, -41.44, 63.54)
CIE-LCHlch(86.90, 75.86, 123.11°)
OKLaboklab(87.3% -0.1173 0.146)
OKLCHoklch(87.3% 0.187 128.8)
XYZxyz(49.4359, 69.8083, 20.1004)
Luminance0.6981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC58 #9558EC
analogous
#ECDF58 #AFEC58 #65EC58
triadic
#AFEC58 #58AFEC #EC58AF
tetradic
#AFEC58 #58ECDF #9558EC #EC5865
square
#AFEC58 #58ECDF #9558EC #EC5865
split-complementary
#AFEC58 #5865EC #DF58EC
monochromatic
#73B515 #95E621 #AFEC58 #C9F28F #E4F9C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFEC58#FFFFFF#000000##000000
##AFEC581.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)
#F7DC46
Deuteranopia (green-blind)
#EED863
Tritanopia (blue-blind)
#B4E2CD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afec58;
/* rgb */ color: rgb(175, 236, 88);
/* oklch */ color: oklch(87.3% 0.187 128.8);
Tailwind
colors: {
  custom: {
    50: '#caf28d',
    500: '#afec58',
    950: '#000000',
  },
}
SCSS
$custom: #afec58;
$custom-light: #caf28d;
$custom-dark: #000000;
JSON
{
  "hex": "#afec58",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 88
  },
  "hsl": {
    "h": 84.73,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.87297,
    "c": 0.18723,
    "h": 128.8
  },
  "luminance": 0.69809
}

Semantic roles & 50–950 ramp

primary
#AFEC58
secondary
#6933B5
accent
#0ADC60
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEC58

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

Preview Lab → · Contrast checker → · Palette generator →

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