#AFDC42#AFDC42

#AFDC42 is a very light, vivid yellow-green. Relative luminance 0.607; OKLCH L 83.4% C 0.183 H 124.5°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#AFDC42
RGBrgb(175, 220, 66)
HSLhsl(78, 69%, 56%)
HSVhsv(78, 70%, 86%)
CMYKcmyk(20.5%, 0%, 70%, 13.7%)
CIE-LABlab(82.21, -35.80, 67.11)
CIE-LCHlch(82.21, 76.06, 118.07°)
OKLaboklab(83.45% -0.1036 0.1505)
OKLCHoklch(83.45% 0.183 124.5)
XYZxyz(44.2561, 60.6933, 14.5366)
Luminance0.6069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC42 #6F42DC
analogous
#DCBC42 #AFDC42 #62DC42
triadic
#AFDC42 #42AFDC #DC42AF
tetradic
#AFDC42 #42DCBC #6F42DC #DC4262
square
#AFDC42 #42DCBC #6F42DC #DC4262
split-complementary
#AFDC42 #4262DC #BC42DC
monochromatic
#698A1A #91BE23 #AFDC42 #C5E676 #DBEFA9

Accessibility & contrast

On white

1.60
#AFDC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#AFDC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC42
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC42#FFFFFF#000000##000000
##AFDC421.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE28
Deuteranopia (green-blind)
#E2CC4F
Tritanopia (blue-blind)
#B7D1BE
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afdc42;
/* rgb */ color: rgb(175, 220, 66);
/* oklch */ color: oklch(83.4% 0.183 124.5);
Tailwind
colors: {
  custom: {
    50: '#cbe780',
    500: '#afdc42',
    950: '#000000',
  },
}
SCSS
$custom: #afdc42;
$custom-light: #cbe780;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc42",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 66
  },
  "hsl": {
    "h": 77.532,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.83448,
    "c": 0.18272,
    "h": 124.5
  },
  "luminance": 0.60694
}

Semantic roles & 50–950 ramp

primary
#AFDC42
secondary
#4E3290
accent
#3CEC6F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFDC42

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

Preview Lab → · Contrast checker → · Palette generator →

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