#AFD849#AFD849

#AFD849 is a very light, vivid yellow-green. Relative luminance 0.587; OKLCH L 82.6% C 0.173 H 123.9°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#AFD849
RGBrgb(175, 216, 73)
HSLhsl(77, 65%, 57%)
HSVhsv(77, 66%, 85%)
CMYKcmyk(19%, 0%, 66.2%, 15.3%)
CIE-LABlab(81.13, -33.53, 63.39)
CIE-LCHlch(81.13, 71.71, 117.88°)
OKLaboklab(82.59% -0.0967 0.1437)
OKLCHoklch(82.59% 0.173 123.9)
XYZxyz(43.4380, 58.7064, 15.3451)
Luminance0.5871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD849 #7249D8
analogous
#D8BA49 #AFD849 #68D849
triadic
#AFD849 #49AFD8 #D849AF
tetradic
#AFD849 #49D8BA #7249D8 #D84968
square
#AFD849 #49D8BA #7249D8 #D84968
split-complementary
#AFD849 #4968D8 #BA49D8
monochromatic
#6A891D #91BC28 #AFD849 #C5E37B #DBEEAE

Accessibility & contrast

On white

1.65
#AFD849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#AFD849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD849
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD849#FFFFFF#000000##000000
##AFD8491.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB35
Deuteranopia (green-blind)
#DEC954
Tritanopia (blue-blind)
#B7CEBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd849;
/* rgb */ color: rgb(175, 216, 73);
/* oklch */ color: oklch(82.6% 0.173 123.9);
Tailwind
colors: {
  custom: {
    50: '#cae483',
    500: '#afd849',
    950: '#000000',
  },
}
SCSS
$custom: #afd849;
$custom-light: #cae483;
$custom-dark: #000000;
JSON
{
  "hex": "#afd849",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 73
  },
  "hsl": {
    "h": 77.203,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82587,
    "c": 0.17324,
    "h": 123.9
  },
  "luminance": 0.58707
}

Semantic roles & 50–950 ramp

primary
#AFD849
secondary
#50368F
accent
#40E870
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD849

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

Preview Lab → · Contrast checker → · Palette generator →

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