#AFEC5D#AFEC5D

#AFEC5D is a very light, vivid yellow-green. Relative luminance 0.699; OKLCH L 87.3% C 0.183 H 129.1°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#AFEC5D
RGBrgb(175, 236, 93)
HSLhsl(86, 79%, 65%)
HSVhsv(86, 61%, 93%)
CMYKcmyk(25.8%, 0%, 60.6%, 7.5%)
CIE-LABlab(86.94, -41.04, 61.52)
CIE-LCHlch(86.94, 73.95, 123.71°)
OKLaboklab(87.35% -0.1158 0.1423)
OKLCHoklch(87.35% 0.183 129.1)
XYZxyz(49.6502, 69.8940, 21.2288)
Luminance0.6989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC5D #9A5DEC
analogous
#ECE15D #AFEC5D #68EC5D
triadic
#AFEC5D #5DAFEC #EC5DAF
tetradic
#AFEC5D #5DECE1 #9A5DEC #EC5D68
square
#AFEC5D #5DECE1 #9A5DEC #EC5D68
split-complementary
#AFEC5D #5D68EC #E15DEC
monochromatic
#73B916 #94E626 #AFEC5D #CAF294 #E5F9CB

Accessibility & contrast

On white

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

On black

14.98
#AFEC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC5D
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC5D#FFFFFF#000000##000000
##AFEC5D1.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD4C
Deuteranopia (green-blind)
#EED867
Tritanopia (blue-blind)
#B4E2CE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afec5d;
/* rgb */ color: rgb(175, 236, 93);
/* oklch */ color: oklch(87.3% 0.183 129.1);
Tailwind
colors: {
  custom: {
    50: '#caf290',
    500: '#afec5d',
    950: '#000000',
  },
}
SCSS
$custom: #afec5d;
$custom-light: #caf290;
$custom-dark: #000000;
JSON
{
  "hex": "#afec5d",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 93
  },
  "hsl": {
    "h": 85.594,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87345,
    "c": 0.18341,
    "h": 129.1
  },
  "luminance": 0.69895
}

Semantic roles & 50–950 ramp

primary
#AFEC5D
secondary
#6D35B8
accent
#0ADB63
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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