#AFEF61#AFEF61

#AFEF61 is a very light, vivid yellow-green. Relative luminance 0.717; OKLCH L 88.1% C 0.184 H 129.9°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#AFEF61
RGBrgb(175, 239, 97)
HSLhsl(87, 82%, 66%)
HSVhsv(87, 59%, 94%)
CMYKcmyk(26.8%, 0%, 59.4%, 6.3%)
CIE-LABlab(87.83, -42.03, 60.81)
CIE-LCHlch(87.83, 73.92, 124.65°)
OKLaboklab(88.07% -0.1181 0.1412)
OKLCHoklch(88.07% 0.184 129.9)
XYZxyz(50.7030, 71.7087, 22.4768)
Luminance0.7171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF61 #A161EF
analogous
#EFE861 #AFEF61 #68EF61
triadic
#AFEF61 #61AFEF #EF61AF
tetradic
#AFEF61 #61EFE8 #A161EF #EF6168
square
#AFEF61 #61EFE8 #A161EF #EF6168
split-complementary
#AFEF61 #6168EF #E861EF
monochromatic
#73C214 #93E929 #AFEF61 #CBF599 #E7FAD0

Accessibility & contrast

On white

1.37
#AFEF61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#AFEF61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF61
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF61#FFFFFF#000000##000000
##AFEF611.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF51
Deuteranopia (green-blind)
#F0DB6B
Tritanopia (blue-blind)
#B3E6D1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #afef61;
/* rgb */ color: rgb(175, 239, 97);
/* oklch */ color: oklch(88.1% 0.184 129.9);
Tailwind
colors: {
  custom: {
    50: '#caf493',
    500: '#afef61',
    950: '#000000',
  },
}
SCSS
$custom: #afef61;
$custom-light: #caf493;
$custom-dark: #000000;
JSON
{
  "hex": "#afef61",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 97
  },
  "hsl": {
    "h": 87.042,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.88072,
    "c": 0.1841,
    "h": 129.9
  },
  "luminance": 0.7171
}

Semantic roles & 50–950 ramp

primary
#AFEF61
secondary
#7334C0
accent
#08DE68
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEF61

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

Preview Lab → · Contrast checker → · Palette generator →

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