#AFDF70#AFDF70

#AFDF70 is a very light, vivid yellow-green. Relative luminance 0.631; OKLCH L 84.6% C 0.149 H 128.5°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#AFDF70
RGBrgb(175, 223, 112)
HSLhsl(86, 63%, 66%)
HSVhsv(86, 50%, 87%)
CMYKcmyk(21.5%, 0%, 49.8%, 12.5%)
CIE-LABlab(83.47, -33.40, 49.00)
CIE-LCHlch(83.47, 59.30, 124.28°)
OKLaboklab(84.6% -0.0931 0.117)
OKLCHoklch(84.6% 0.149 128.5)
XYZxyz(46.9911, 63.0584, 25.0218)
Luminance0.6306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF70 #A070DF
analogous
#DFD870 #AFDF70 #77DF70
triadic
#AFDF70 #70AFDF #DF70AF
tetradic
#AFDF70 #70DFD8 #A070DF #DF7077
square
#AFDF70 #70DFD8 #A070DF #DF7077
split-complementary
#AFDF70 #7077DF #D870DF
monochromatic
#73AE27 #93D43E #AFDF70 #CBEAA2 #E7F5D4

Accessibility & contrast

On white

1.54
#AFDF70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#AFDF70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF70
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF70#FFFFFF#000000##000000
##AFDF701.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D266
Deuteranopia (green-blind)
#E1CF77
Tritanopia (blue-blind)
#B3D7C5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afdf70;
/* rgb */ color: rgb(175, 223, 112);
/* oklch */ color: oklch(84.6% 0.149 128.5);
Tailwind
colors: {
  custom: {
    50: '#c9e99b',
    500: '#afdf70',
    950: '#000000',
  },
}
SCSS
$custom: #afdf70;
$custom-light: #c9e99b;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf70",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 112
  },
  "hsl": {
    "h": 85.946,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.84599,
    "c": 0.14947,
    "h": 128.5
  },
  "luminance": 0.63059
}

Semantic roles & 50–950 ramp

primary
#AFDF70
secondary
#7244B0
accent
#1ACB67
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFDF70

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

Preview Lab → · Contrast checker → · Palette generator →

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