#AFD649#AFD649

#AFD649 is a very light, vivid yellow-green. Relative luminance 0.577; OKLCH L 82.1% C 0.171 H 123.5°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#AFD649
RGBrgb(175, 214, 73)
HSLhsl(77, 63%, 56%)
HSVhsv(77, 66%, 84%)
CMYKcmyk(18.2%, 0%, 65.9%, 16.1%)
CIE-LABlab(80.56, -32.60, 62.80)
CIE-LCHlch(80.56, 70.76, 117.44°)
OKLaboklab(82.13% -0.0942 0.1425)
OKLCHoklch(82.13% 0.171 123.5)
XYZxyz(42.9288, 57.6879, 15.1753)
Luminance0.5769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD649 #7049D6
analogous
#D6B749 #AFD649 #69D649
triadic
#AFD649 #49AFD6 #D649AF
tetradic
#AFD649 #49D6B7 #7049D6 #D64969
square
#AFD649 #49D6B7 #7049D6 #D64969
split-complementary
#AFD649 #4969D6 #B749D6
monochromatic
#6A861E #91B82A #AFD649 #C5E17B #DBEDAD

Accessibility & contrast

On white

1.67
#AFD649 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#AFD649 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD649
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD649#FFFFFF#000000##000000
##AFD6491.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C935
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#B7CCB9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd649;
/* rgb */ color: rgb(175, 214, 73);
/* oklch */ color: oklch(82.1% 0.171 123.5);
Tailwind
colors: {
  custom: {
    50: '#cae283',
    500: '#afd649',
    950: '#000000',
  },
}
SCSS
$custom: #afd649;
$custom-light: #cae283;
$custom-dark: #000000;
JSON
{
  "hex": "#afd649",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 73
  },
  "hsl": {
    "h": 76.596,
    "s": 63.229,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82131,
    "c": 0.17079,
    "h": 123.5
  },
  "luminance": 0.57688
}

Semantic roles & 50–950 ramp

primary
#AFD649
secondary
#4E368D
accent
#42E66F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD649

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

Preview Lab → · Contrast checker → · Palette generator →

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