#AFD149#AFD149

#AFD149 is a light, vivid yellow-green. Relative luminance 0.552; OKLCH L 81.0% C 0.165 H 122.2°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#AFD149
RGBrgb(175, 209, 73)
HSLhsl(75, 60%, 55%)
HSVhsv(75, 65%, 82%)
CMYKcmyk(16.3%, 0%, 65.1%, 18%)
CIE-LABlab(79.15, -30.27, 61.32)
CIE-LCHlch(79.15, 68.38, 116.27°)
OKLaboklab(80.99% -0.0877 0.1394)
OKLCHoklch(80.99% 0.165 122.2)
XYZxyz(41.6827, 55.1958, 14.7600)
Luminance0.5520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD149 #6B49D1
analogous
#D1AF49 #AFD149 #6BD149
triadic
#AFD149 #49AFD1 #D149AF
tetradic
#AFD149 #49D1AF #6B49D1 #D1496B
square
#AFD149 #49D1AF #6B49D1 #D1496B
split-complementary
#AFD149 #496BD1 #AF49D1
monochromatic
#687F20 #8FB02D #AFD149 #C4DD7A #DAEAAB

Accessibility & contrast

On white

1.74
#AFD149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#AFD149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD149
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD149#FFFFFF#000000##000000
##AFD1491.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC537
Deuteranopia (green-blind)
#D9C453
Tritanopia (blue-blind)
#B8C7B5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd149;
/* rgb */ color: rgb(175, 209, 73);
/* oklch */ color: oklch(81.0% 0.165 122.2);
Tailwind
colors: {
  custom: {
    50: '#cadf82',
    500: '#afd149',
    950: '#000000',
  },
}
SCSS
$custom: #afd149;
$custom-light: #cadf82;
$custom-dark: #000000;
JSON
{
  "hex": "#afd149",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 73
  },
  "hsl": {
    "h": 75,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80993,
    "c": 0.16467,
    "h": 122.2
  },
  "luminance": 0.55196
}

Semantic roles & 50–950 ramp

primary
#AFD149
secondary
#4B3787
accent
#45E36C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD149

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

Preview Lab → · Contrast checker → · Palette generator →

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