#AFEC4E#AFEC4E

#AFEC4E is a very light, vivid yellow-green. Relative luminance 0.697; OKLCH L 87.2% C 0.194 H 128.2°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#AFEC4E
RGBrgb(175, 236, 78)
HSLhsl(83, 81%, 62%)
HSVhsv(83, 67%, 93%)
CMYKcmyk(25.8%, 0%, 66.9%, 7.5%)
CIE-LABlab(86.83, -42.17, 67.39)
CIE-LCHlch(86.83, 79.49, 122.04°)
OKLaboklab(87.21% -0.1201 0.1528)
OKLCHoklch(87.21% 0.194 128.2)
XYZxyz(49.0497, 69.6538, 18.0666)
Luminance0.6966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC4E #8B4EEC
analogous
#ECDA4E #AFEC4E #60EC4E
triadic
#AFEC4E #4EAFEC #EC4EAF
tetradic
#AFEC4E #4EECDA #8B4EEC #EC4E60
square
#AFEC4E #4EECDA #8B4EEC #EC4E60
split-complementary
#AFEC4E #4E60EC #DA4EEC
monochromatic
#71AD13 #96E419 #AFEC4E #C8F285 #E1F8BD

Accessibility & contrast

On white

1.41
#AFEC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.93
#AFEC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC4E
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC4E#FFFFFF#000000##000000
##AFEC4E1.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC37
Deuteranopia (green-blind)
#EFD85B
Tritanopia (blue-blind)
#B5E2CC
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afec4e;
/* rgb */ color: rgb(175, 236, 78);
/* oklch */ color: oklch(87.2% 0.194 128.2);
Tailwind
colors: {
  custom: {
    50: '#cbf287',
    500: '#afec4e',
    950: '#000000',
  },
}
SCSS
$custom: #afec4e;
$custom-light: #cbf287;
$custom-dark: #000000;
JSON
{
  "hex": "#afec4e",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 78
  },
  "hsl": {
    "h": 83.165,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87211,
    "c": 0.19434,
    "h": 128.2
  },
  "luminance": 0.69655
}

Semantic roles & 50–950 ramp

primary
#AFEC4E
secondary
#6130AE
accent
#09DD5B
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170C
muted
#83857F

Preview Lab

Preview with #AFEC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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