#AFDC74#AFDC74

#AFDC74 is a very light, vivid yellow-green. Relative luminance 0.616; OKLCH L 84.0% C 0.141 H 128.3°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#AFDC74
RGBrgb(175, 220, 116)
HSLhsl(86, 60%, 66%)
HSVhsv(86, 47%, 86%)
CMYKcmyk(20.5%, 0%, 47.3%, 13.7%)
CIE-LABlab(82.68, -31.57, 46.13)
CIE-LCHlch(82.68, 55.90, 124.39°)
OKLaboklab(83.97% -0.0877 0.1109)
OKLCHoklch(83.97% 0.141 128.3)
XYZxyz(46.4244, 61.5606, 25.9561)
Luminance0.6156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC74 #A174DC
analogous
#DCD574 #AFDC74 #7BDC74
triadic
#AFDC74 #74AFDC #DC74AF
tetradic
#AFDC74 #74DCD5 #A174DC #DC747B
square
#AFDC74 #74DCD5 #A174DC #DC747B
split-complementary
#AFDC74 #747BDC #D574DC
monochromatic
#73AB2B #93D043 #AFDC74 #CBE8A5 #E7F5D6

Accessibility & contrast

On white

1.58
#AFDC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#AFDC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC74
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC74#FFFFFF#000000##000000
##AFDC741.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06B
Deuteranopia (green-blind)
#DECD7A
Tritanopia (blue-blind)
#B3D4C4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdc74;
/* rgb */ color: rgb(175, 220, 116);
/* oklch */ color: oklch(84.0% 0.141 128.3);
Tailwind
colors: {
  custom: {
    50: '#c9e79e',
    500: '#afdc74',
    950: '#000000',
  },
}
SCSS
$custom: #afdc74;
$custom-light: #c9e79e;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc74",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 116
  },
  "hsl": {
    "h": 85.962,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.83974,
    "c": 0.14135,
    "h": 128.3
  },
  "luminance": 0.61561
}

Semantic roles & 50–950 ramp

primary
#AFDC74
secondary
#7347AD
accent
#1EC767
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFDC74

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

Preview Lab → · Contrast checker → · Palette generator →

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