#AFDD42#AFDD42

#AFDD42 is a very light, vivid yellow-green. Relative luminance 0.612; OKLCH L 83.7% C 0.184 H 124.8°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#AFDD42
RGBrgb(175, 221, 66)
HSLhsl(78, 70%, 56%)
HSVhsv(78, 70%, 87%)
CMYKcmyk(20.8%, 0%, 70.1%, 13.3%)
CIE-LABlab(82.50, -36.25, 67.40)
CIE-LCHlch(82.50, 76.53, 118.27°)
OKLaboklab(83.68% -0.1048 0.1511)
OKLCHoklch(83.68% 0.184 124.8)
XYZxyz(44.5194, 61.2197, 14.6243)
Luminance0.6122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDD42 #7042DD
analogous
#DDBD42 #AFDD42 #62DD42
triadic
#AFDD42 #42AFDD #DD42AF
tetradic
#AFDD42 #42DDBD #7042DD #DD4262
square
#AFDD42 #42DDBD #7042DD #DD4262
split-complementary
#AFDD42 #4262DD #BD42DD
monochromatic
#6A8C19 #91BF22 #AFDD42 #C5E676 #DBF0AA

Accessibility & contrast

On white

1.59
#AFDD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#AFDD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDD42
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDD42#FFFFFF#000000##000000
##AFDD421.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF28
Deuteranopia (green-blind)
#E3CD4F
Tritanopia (blue-blind)
#B7D2BF
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afdd42;
/* rgb */ color: rgb(175, 221, 66);
/* oklch */ color: oklch(83.7% 0.184 124.8);
Tailwind
colors: {
  custom: {
    50: '#cbe780',
    500: '#afdd42',
    950: '#000000',
  },
}
SCSS
$custom: #afdd42;
$custom-light: #cbe780;
$custom-dark: #000000;
JSON
{
  "hex": "#afdd42",
  "rgb": {
    "r": 175,
    "g": 221,
    "b": 66
  },
  "hsl": {
    "h": 77.806,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83677,
    "c": 0.18393,
    "h": 124.8
  },
  "luminance": 0.6122
}

Semantic roles & 50–950 ramp

primary
#AFDD42
secondary
#4E3291
accent
#3BEC70
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFDD42

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

Preview Lab → · Contrast checker → · Palette generator →

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