#AFEC4D#AFEC4D

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

Color values

HEX#AFEC4D
RGBrgb(175, 236, 77)
HSLhsl(83, 81%, 61%)
HSVhsv(83, 67%, 93%)
CMYKcmyk(25.8%, 0%, 67.4%, 7.5%)
CIE-LABlab(86.82, -42.23, 67.76)
CIE-LCHlch(86.82, 79.84, 121.94°)
OKLaboklab(87.2% -0.1203 0.1534)
OKLCHoklch(87.2% 0.195 128.1)
XYZxyz(49.0142, 69.6396, 17.8792)
Luminance0.6964 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC4D #8A4DEC
analogous
#ECDA4D #AFEC4D #60EC4D
triadic
#AFEC4D #4DAFEC #EC4DAF
tetradic
#AFEC4D #4DECDA #8A4DEC #EC4D60
square
#AFEC4D #4DECDA #8A4DEC #EC4D60
split-complementary
#AFEC4D #4D60EC #DA4DEC
monochromatic
#71AC12 #96E418 #AFEC4D #C8F284 #E1F8BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFEC4D#FFFFFF#000000##000000
##AFEC4D1.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)
#F7DC35
Deuteranopia (green-blind)
#EFD85A
Tritanopia (blue-blind)
#B5E2CC
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afec4d;
/* rgb */ color: rgb(175, 236, 77);
/* oklch */ color: oklch(87.2% 0.195 128.1);
Tailwind
colors: {
  custom: {
    50: '#cbf287',
    500: '#afec4d',
    950: '#000000',
  },
}
SCSS
$custom: #afec4d;
$custom-light: #cbf287;
$custom-dark: #000000;
JSON
{
  "hex": "#afec4d",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 77
  },
  "hsl": {
    "h": 83.019,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87203,
    "c": 0.19501,
    "h": 128.1
  },
  "luminance": 0.69641
}

Semantic roles & 50–950 ramp

primary
#AFEC4D
secondary
#6030AD
accent
#08DD5A
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170C
muted
#83857F

Preview Lab

Preview with #AFEC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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