#AFD548#AFD548

#AFD548 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.43:1 contrast (WCAG AA passes).

Color values

HEX#AFD548
RGBrgb(175, 213, 72)
HSLhsl(76, 63%, 56%)
HSVhsv(76, 66%, 84%)
CMYKcmyk(17.8%, 0%, 66.2%, 16.5%)
CIE-LABlab(80.28, -32.21, 62.89)
CIE-LCHlch(80.28, 70.65, 117.12°)
OKLaboklab(81.9% -0.0932 0.1425)
OKLCHoklch(81.9% 0.17 123.2)
XYZxyz(42.6436, 57.1701, 14.9180)
Luminance0.5717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD548 #6E48D5
analogous
#D5B448 #AFD548 #68D548
triadic
#AFD548 #48AFD5 #D548AF
tetradic
#AFD548 #48D5B4 #6E48D5 #D54868
square
#AFD548 #48D5B4 #6E48D5 #D54868
split-complementary
#AFD548 #4868D5 #B448D5
monochromatic
#69841E #90B62A #AFD548 #C5E07A #DBECAC

Accessibility & contrast

On white

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

On black

12.43
#AFD548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD548
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD548#FFFFFF#000000##000000
##AFD5481.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C834
Deuteranopia (green-blind)
#DCC753
Tritanopia (blue-blind)
#B7CBB8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd548;
/* rgb */ color: rgb(175, 213, 72);
/* oklch */ color: oklch(81.9% 0.170 123.2);
Tailwind
colors: {
  custom: {
    50: '#cae282',
    500: '#afd548',
    950: '#000000',
  },
}
SCSS
$custom: #afd548;
$custom-light: #cae282;
$custom-dark: #000000;
JSON
{
  "hex": "#afd548",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 72
  },
  "hsl": {
    "h": 76.17,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81895,
    "c": 0.17028,
    "h": 123.2
  },
  "luminance": 0.5717
}

Semantic roles & 50–950 ramp

primary
#AFD548
secondary
#4D368B
accent
#42E66E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD548

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

Preview Lab → · Contrast checker → · Palette generator →

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