#AFDC46#AFDC46

#AFDC46 is a very light, vivid yellow-green. Relative luminance 0.607; OKLCH L 83.5% C 0.180 H 124.7°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#AFDC46
RGBrgb(175, 220, 70)
HSLhsl(78, 68%, 57%)
HSVhsv(78, 68%, 86%)
CMYKcmyk(20.5%, 0%, 68.2%, 13.7%)
CIE-LABlab(82.24, -35.55, 65.67)
CIE-LCHlch(82.24, 74.68, 118.43°)
OKLaboklab(83.48% -0.1026 0.1481)
OKLCHoklch(83.48% 0.18 124.7)
XYZxyz(44.3782, 60.7421, 15.1796)
Luminance0.6074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC46 #7346DC
analogous
#DCBE46 #AFDC46 #64DC46
triadic
#AFDC46 #46AFDC #DC46AF
tetradic
#AFDC46 #46DCBE #7346DC #DC4664
square
#AFDC46 #46DCBE #7346DC #DC4664
split-complementary
#AFDC46 #4664DC #BE46DC
monochromatic
#6B8D1B #92C024 #AFDC46 #C5E679 #DCEFAD

Accessibility & contrast

On white

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

On black

13.15
#AFDC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC46
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC46#FFFFFF#000000##000000
##AFDC461.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE2F
Deuteranopia (green-blind)
#E2CC52
Tritanopia (blue-blind)
#B7D2BE
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afdc46;
/* rgb */ color: rgb(175, 220, 70);
/* oklch */ color: oklch(83.5% 0.180 124.7);
Tailwind
colors: {
  custom: {
    50: '#cae782',
    500: '#afdc46',
    950: '#000000',
  },
}
SCSS
$custom: #afdc46;
$custom-light: #cae782;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc46",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 70
  },
  "hsl": {
    "h": 78,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83478,
    "c": 0.18015,
    "h": 124.7
  },
  "luminance": 0.60743
}

Semantic roles & 50–950 ramp

primary
#AFDC46
secondary
#503492
accent
#3DEB71
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFDC46

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

Preview Lab → · Contrast checker → · Palette generator →

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