#AFDF49#AFDF49

#AFDF49 is a very light, vivid yellow-green. Relative luminance 0.624; OKLCH L 84.2% C 0.182 H 125.5°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#AFDF49
RGBrgb(175, 223, 73)
HSLhsl(79, 70%, 58%)
HSVhsv(79, 67%, 87%)
CMYKcmyk(21.5%, 0%, 67.3%, 12.5%)
CIE-LABlab(83.11, -36.72, 65.44)
CIE-LCHlch(83.11, 75.04, 119.30°)
OKLaboklab(84.19% -0.1055 0.148)
OKLCHoklch(84.19% 0.182 125.5)
XYZxyz(45.2697, 62.3698, 15.9556)
Luminance0.6237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF49 #7949DF
analogous
#DFC449 #AFDF49 #64DF49
triadic
#AFDF49 #49AFDF #DF49AF
tetradic
#AFDF49 #49DFC4 #7949DF #DF4964
square
#AFDF49 #49DFC4 #7949DF #DF4964
split-complementary
#AFDF49 #4964DF #C449DF
monochromatic
#6D941A #93C823 #AFDF49 #C6E87D #DDF1B1

Accessibility & contrast

On white

1.56
#AFDF49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#AFDF49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF49
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF49#FFFFFF#000000##000000
##AFDF491.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD133
Deuteranopia (green-blind)
#E4CE55
Tritanopia (blue-blind)
#B6D5C1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afdf49;
/* rgb */ color: rgb(175, 223, 73);
/* oklch */ color: oklch(84.2% 0.182 125.5);
Tailwind
colors: {
  custom: {
    50: '#cae984',
    500: '#afdf49',
    950: '#000000',
  },
}
SCSS
$custom: #afdf49;
$custom-light: #cae984;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf49",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 73
  },
  "hsl": {
    "h": 79.2,
    "s": 70.093,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84188,
    "c": 0.1818,
    "h": 125.5
  },
  "luminance": 0.6237
}

Semantic roles & 50–950 ramp

primary
#AFDF49
secondary
#543498
accent
#3BED74
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFDF49

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

Preview Lab → · Contrast checker → · Palette generator →

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