#AFD050#AFD050

#AFD050 is a light, vivid yellow-green. Relative luminance 0.548; OKLCH L 80.8% C 0.158 H 122.3°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#AFD050
RGBrgb(175, 208, 80)
HSLhsl(75, 58%, 56%)
HSVhsv(75, 62%, 82%)
CMYKcmyk(15.9%, 0%, 61.5%, 18.4%)
CIE-LABlab(78.93, -29.30, 58.20)
CIE-LCHlch(78.93, 65.15, 116.72°)
OKLaboklab(80.83% -0.0844 0.1337)
OKLCHoklch(80.83% 0.158 122.3)
XYZxyz(41.6834, 54.8048, 15.9703)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD050 #7150D0
analogous
#D0B150 #AFD050 #6FD050
triadic
#AFD050 #50AFD0 #D050AF
tetradic
#AFD050 #50D0B1 #7150D0 #D0506F
square
#AFD050 #50D0B1 #7150D0 #D0506F
split-complementary
#AFD050 #506FD0 #B150D0
monochromatic
#6A8323 #91B330 #AFD050 #C5DD80 #DBEAB0

Accessibility & contrast

On white

1.76
#AFD050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#AFD050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD050
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD050#FFFFFF#000000##000000
##AFD0501.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC441
Deuteranopia (green-blind)
#D7C359
Tritanopia (blue-blind)
#B7C6B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afd050;
/* rgb */ color: rgb(175, 208, 80);
/* oklch */ color: oklch(80.8% 0.158 122.3);
Tailwind
colors: {
  custom: {
    50: '#cade86',
    500: '#afd050',
    950: '#000000',
  },
}
SCSS
$custom: #afd050;
$custom-light: #cade86;
$custom-dark: #000000;
JSON
{
  "hex": "#afd050",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 80
  },
  "hsl": {
    "h": 75.469,
    "s": 57.658,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80829,
    "c": 0.15808,
    "h": 122.3
  },
  "luminance": 0.54805
}

Semantic roles & 50–950 ramp

primary
#AFD050
secondary
#4F3B8A
accent
#47E16F
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD050

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

Preview Lab → · Contrast checker → · Palette generator →

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