#AFDF61#AFDF61

#AFDF61 is a very light, vivid yellow-green. Relative luminance 0.628; OKLCH L 84.4% C 0.163 H 127.0°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#AFDF61
RGBrgb(175, 223, 97)
HSLhsl(83, 66%, 63%)
HSVhsv(83, 57%, 87%)
CMYKcmyk(21.5%, 0%, 56.5%, 12.5%)
CIE-LABlab(83.31, -34.87, 55.70)
CIE-LCHlch(83.31, 65.72, 122.04°)
OKLaboklab(84.42% -0.0983 0.1303)
OKLCHoklch(84.42% 0.163 127)
XYZxyz(46.2244, 62.7517, 20.9839)
Luminance0.6275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF61 #9161DF
analogous
#DFD061 #AFDF61 #70DF61
triadic
#AFDF61 #61AFDF #DF61AF
tetradic
#AFDF61 #61DFD0 #9161DF #DF6170
square
#AFDF61 #61DFD0 #9161DF #DF6170
split-complementary
#AFDF61 #6170DF #D061DF
monochromatic
#72A421 #95D52E #AFDF61 #C9E994 #E3F4C7

Accessibility & contrast

On white

1.55
#AFDF61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#AFDF61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF61
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF61#FFFFFF#000000##000000
##AFDF611.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D254
Deuteranopia (green-blind)
#E3CF69
Tritanopia (blue-blind)
#B5D6C3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afdf61;
/* rgb */ color: rgb(175, 223, 97);
/* oklch */ color: oklch(84.4% 0.163 127.0);
Tailwind
colors: {
  custom: {
    50: '#c9e992',
    500: '#afdf61',
    950: '#000000',
  },
}
SCSS
$custom: #afdf61;
$custom-light: #c9e992;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf61",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 97
  },
  "hsl": {
    "h": 82.857,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84416,
    "c": 0.16321,
    "h": 127
  },
  "luminance": 0.62752
}

Semantic roles & 50–950 ramp

primary
#AFDF61
secondary
#653DA7
accent
#17CE5D
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFDF61

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

Preview Lab → · Contrast checker → · Palette generator →

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