#AFD549#AFD549

#AFD549 is a light, vivid yellow-green. Relative luminance 0.572; OKLCH L 81.9% C 0.170 H 123.2°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#AFD549
RGBrgb(175, 213, 73)
HSLhsl(76, 63%, 56%)
HSVhsv(76, 66%, 84%)
CMYKcmyk(17.8%, 0%, 65.7%, 16.5%)
CIE-LABlab(80.28, -32.14, 62.50)
CIE-LCHlch(80.28, 70.28, 117.21°)
OKLaboklab(81.9% -0.0929 0.1419)
OKLCHoklch(81.9% 0.17 123.2)
XYZxyz(42.6765, 57.1833, 15.0912)
Luminance0.5718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD549 #6F49D5
analogous
#D5B549 #AFD549 #69D549
triadic
#AFD549 #49AFD5 #D549AF
tetradic
#AFD549 #49D5B5 #6F49D5 #D54969
square
#AFD549 #49D5B5 #6F49D5 #D54969
split-complementary
#AFD549 #4969D5 #B549D5
monochromatic
#69851F #91B72A #AFD549 #C5E07B #DBECAC

Accessibility & contrast

On white

1.69
#AFD549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#AFD549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD549
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD549#FFFFFF#000000##000000
##AFD5491.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C836
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#B7CBB9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd549;
/* rgb */ color: rgb(175, 213, 73);
/* oklch */ color: oklch(81.9% 0.170 123.2);
Tailwind
colors: {
  custom: {
    50: '#cae283',
    500: '#afd549',
    950: '#000000',
  },
}
SCSS
$custom: #afd549;
$custom-light: #cae283;
$custom-dark: #000000;
JSON
{
  "hex": "#afd549",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 73
  },
  "hsl": {
    "h": 76.286,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81903,
    "c": 0.16956,
    "h": 123.2
  },
  "luminance": 0.57183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD549

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

Preview Lab → · Contrast checker → · Palette generator →

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