#AFD249#AFD249

#AFD249 is a light, vivid yellow-green. Relative luminance 0.557; OKLCH L 81.2% C 0.166 H 122.5°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#AFD249
RGBrgb(175, 210, 73)
HSLhsl(75, 60%, 55%)
HSVhsv(75, 65%, 82%)
CMYKcmyk(16.7%, 0%, 65.2%, 17.6%)
CIE-LABlab(79.44, -30.74, 61.62)
CIE-LCHlch(79.44, 68.86, 116.51°)
OKLaboklab(81.22% -0.089 0.14)
OKLCHoklch(81.22% 0.166 122.5)
XYZxyz(41.9288, 55.6881, 14.8420)
Luminance0.5569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD249 #6C49D2
analogous
#D2B049 #AFD249 #6BD249
triadic
#AFD249 #49AFD2 #D249AF
tetradic
#AFD249 #49D2B0 #6C49D2 #D2496B
square
#AFD249 #49D2B0 #6C49D2 #D2496B
split-complementary
#AFD249 #496BD2 #B049D2
monochromatic
#688120 #90B22C #AFD249 #C5DE7A #DAEAAB

Accessibility & contrast

On white

1.73
#AFD249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#AFD249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD249
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD249#FFFFFF#000000##000000
##AFD2491.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC636
Deuteranopia (green-blind)
#D9C553
Tritanopia (blue-blind)
#B8C8B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd249;
/* rgb */ color: rgb(175, 210, 73);
/* oklch */ color: oklch(81.2% 0.166 122.5);
Tailwind
colors: {
  custom: {
    50: '#cadf82',
    500: '#afd249',
    950: '#000000',
  },
}
SCSS
$custom: #afd249;
$custom-light: #cadf82;
$custom-dark: #000000;
JSON
{
  "hex": "#afd249",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 73
  },
  "hsl": {
    "h": 75.328,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8122,
    "c": 0.16589,
    "h": 122.5
  },
  "luminance": 0.55688
}

Semantic roles & 50–950 ramp

primary
#AFD249
secondary
#4C3788
accent
#44E36D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD249

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

Preview Lab → · Contrast checker → · Palette generator →

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