#AFEC61#AFEC61

#AFEC61 is a very light, vivid yellow-green. Relative luminance 0.700; OKLCH L 87.4% C 0.180 H 129.4°. Best body text is #000000 at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#AFEC61
RGBrgb(175, 236, 97)
HSLhsl(86, 79%, 65%)
HSVhsv(86, 59%, 93%)
CMYKcmyk(25.8%, 0%, 58.9%, 7.5%)
CIE-LABlab(86.98, -40.71, 59.86)
CIE-LCHlch(86.98, 72.39, 124.22°)
OKLaboklab(87.39% -0.1145 0.1392)
OKLCHoklch(87.39% 0.18 129.4)
XYZxyz(49.8320, 69.9667, 22.1864)
Luminance0.6997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC61 #9E61EC
analogous
#ECE361 #AFEC61 #69EC61
triadic
#AFEC61 #61AFEC #EC61AF
tetradic
#AFEC61 #61ECE3 #9E61EC #EC6169
square
#AFEC61 #61ECE3 #9E61EC #EC6169
split-complementary
#AFEC61 #6169EC #E361EC
monochromatic
#73BC17 #93E52A #AFEC61 #CBF398 #E6F9CE

Accessibility & contrast

On white

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

On black

14.99
#AFEC61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC61
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC61#FFFFFF#000000##000000
##AFEC611.001.4014.9914.99
#FFFFFF1.401.0021.0021.00
#00000014.9921.001.001.00
##00000014.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD52
Deuteranopia (green-blind)
#EED86B
Tritanopia (blue-blind)
#B3E3CE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afec61;
/* rgb */ color: rgb(175, 236, 97);
/* oklch */ color: oklch(87.4% 0.180 129.4);
Tailwind
colors: {
  custom: {
    50: '#caf293',
    500: '#afec61',
    950: '#000000',
  },
}
SCSS
$custom: #afec61;
$custom-light: #caf293;
$custom-dark: #000000;
JSON
{
  "hex": "#afec61",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 97
  },
  "hsl": {
    "h": 86.331,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87385,
    "c": 0.18021,
    "h": 129.4
  },
  "luminance": 0.69968
}

Semantic roles & 50–950 ramp

primary
#AFEC61
secondary
#7036BB
accent
#0BDB66
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEC61

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

Preview Lab → · Contrast checker → · Palette generator →

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