#AFD349#AFD349

#AFD349 is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.4% C 0.167 H 122.7°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#AFD349
RGBrgb(175, 211, 73)
HSLhsl(76, 61%, 56%)
HSVhsv(76, 65%, 83%)
CMYKcmyk(17.1%, 0%, 65.4%, 17.3%)
CIE-LABlab(79.72, -31.21, 61.91)
CIE-LCHlch(79.72, 69.33, 116.75°)
OKLaboklab(81.45% -0.0903 0.1406)
OKLCHoklch(81.45% 0.167 122.7)
XYZxyz(42.1765, 56.1834, 14.9246)
Luminance0.5618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD349 #6D49D3
analogous
#D3B249 #AFD349 #6AD349
triadic
#AFD349 #49AFD3 #D349AF
tetradic
#AFD349 #49D3B2 #6D49D3 #D3496A
square
#AFD349 #49D3B2 #6D49D3 #D3496A
split-complementary
#AFD349 #496AD3 #B249D3
monochromatic
#68821F #90B32B #AFD349 #C5DF7A #DAEBAC

Accessibility & contrast

On white

1.72
#AFD349 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#AFD349 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD349
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD349#FFFFFF#000000##000000
##AFD3491.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC636
Deuteranopia (green-blind)
#DAC553
Tritanopia (blue-blind)
#B7C9B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd349;
/* rgb */ color: rgb(175, 211, 73);
/* oklch */ color: oklch(81.4% 0.167 122.7);
Tailwind
colors: {
  custom: {
    50: '#cae083',
    500: '#afd349',
    950: '#000000',
  },
}
SCSS
$custom: #afd349;
$custom-light: #cae083;
$custom-dark: #000000;
JSON
{
  "hex": "#afd349",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 73
  },
  "hsl": {
    "h": 75.652,
    "s": 61.062,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81448,
    "c": 0.16711,
    "h": 122.7
  },
  "luminance": 0.56184
}

Semantic roles & 50–950 ramp

primary
#AFD349
secondary
#4C3789
accent
#44E46E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD349

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

Preview Lab → · Contrast checker → · Palette generator →

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