#AFEC63#AFEC63

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

Color values

HEX#AFEC63
RGBrgb(175, 236, 99)
HSLhsl(87, 78%, 66%)
HSVhsv(87, 58%, 93%)
CMYKcmyk(25.8%, 0%, 58.1%, 7.5%)
CIE-LABlab(87.00, -40.53, 59.02)
CIE-LCHlch(87.00, 71.60, 124.48°)
OKLaboklab(87.41% -0.1139 0.1376)
OKLCHoklch(87.41% 0.179 129.6)
XYZxyz(49.9264, 70.0045, 22.6838)
Luminance0.7001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC63 #A063EC
analogous
#ECE463 #AFEC63 #6AEC63
triadic
#AFEC63 #63AFEC #EC63AF
tetradic
#AFEC63 #63ECE4 #A063EC #EC636A
square
#AFEC63 #63ECE4 #A063EC #EC636A
split-complementary
#AFEC63 #636AEC #E463EC
monochromatic
#73BE17 #93E52C #AFEC63 #CBF39A #E7F9D0

Accessibility & contrast

On white

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

On black

15.00
#AFEC63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC63
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC63#FFFFFF#000000##000000
##AFEC631.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afec63;
/* rgb */ color: rgb(175, 236, 99);
/* oklch */ color: oklch(87.4% 0.179 129.6);
Tailwind
colors: {
  custom: {
    50: '#caf294',
    500: '#afec63',
    950: '#000000',
  },
}
SCSS
$custom: #afec63;
$custom-light: #caf294;
$custom-dark: #000000;
JSON
{
  "hex": "#afec63",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 99
  },
  "hsl": {
    "h": 86.715,
    "s": 78.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87406,
    "c": 0.17858,
    "h": 129.6
  },
  "luminance": 0.70006
}

Semantic roles & 50–950 ramp

primary
#AFEC63
secondary
#7237BC
accent
#0BDB67
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEC63

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

Preview Lab → · Contrast checker → · Palette generator →

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