#AFEC5E#AFEC5E

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

Color values

HEX#AFEC5E
RGBrgb(175, 236, 94)
HSLhsl(86, 79%, 65%)
HSVhsv(86, 60%, 93%)
CMYKcmyk(25.8%, 0%, 60.2%, 7.5%)
CIE-LABlab(86.95, -40.96, 61.11)
CIE-LCHlch(86.95, 73.57, 123.83°)
OKLaboklab(87.36% -0.1154 0.1415)
OKLCHoklch(87.36% 0.183 129.2)
XYZxyz(49.6947, 69.9119, 21.4636)
Luminance0.6991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC5E #9B5EEC
analogous
#ECE25E #AFEC5E #68EC5E
triadic
#AFEC5E #5EAFEC #EC5EAF
tetradic
#AFEC5E #5EECE2 #9B5EEC #EC5E68
square
#AFEC5E #5EECE2 #9B5EEC #EC5E68
split-complementary
#AFEC5E #5E68EC #E25EEC
monochromatic
#73BA16 #94E627 #AFEC5E #CAF295 #E5F9CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFEC5E#FFFFFF#000000##000000
##AFEC5E1.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)
#F6DD4E
Deuteranopia (green-blind)
#EED868
Tritanopia (blue-blind)
#B4E2CE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afec5e;
/* rgb */ color: rgb(175, 236, 94);
/* oklch */ color: oklch(87.4% 0.183 129.2);
Tailwind
colors: {
  custom: {
    50: '#caf291',
    500: '#afec5e',
    950: '#000000',
  },
}
SCSS
$custom: #afec5e;
$custom-light: #caf291;
$custom-dark: #000000;
JSON
{
  "hex": "#afec5e",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 94
  },
  "hsl": {
    "h": 85.775,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.87355,
    "c": 0.18262,
    "h": 129.2
  },
  "luminance": 0.69913
}

Semantic roles & 50–950 ramp

primary
#AFEC5E
secondary
#6E35B9
accent
#0ADB64
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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