#AFD550#AFD550

#AFD550 is a light, vivid yellow-green. Relative luminance 0.573; OKLCH L 82.0% C 0.164 H 123.6°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#AFD550
RGBrgb(175, 213, 80)
HSLhsl(77, 61%, 57%)
HSVhsv(77, 62%, 84%)
CMYKcmyk(17.8%, 0%, 62.4%, 16.5%)
CIE-LABlab(80.34, -31.64, 59.72)
CIE-LCHlch(80.34, 67.59, 117.92°)
OKLaboklab(81.97% -0.0909 0.1369)
OKLCHoklch(81.97% 0.164 123.6)
XYZxyz(42.9217, 57.2814, 16.3830)
Luminance0.5728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD550 #7650D5
analogous
#D5B950 #AFD550 #6CD550
triadic
#AFD550 #50AFD5 #D550AF
tetradic
#AFD550 #50D5B9 #7650D5 #D5506C
square
#AFD550 #50D5B9 #7650D5 #D5506C
split-complementary
#AFD550 #506CD5 #B950D5
monochromatic
#6C8A21 #92BB2D #AFD550 #C6E181 #DCEDB3

Accessibility & contrast

On white

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

On black

12.46
#AFD550 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD550
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD550#FFFFFF#000000##000000
##AFD5501.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd550;
/* rgb */ color: rgb(175, 213, 80);
/* oklch */ color: oklch(82.0% 0.164 123.6);
Tailwind
colors: {
  custom: {
    50: '#cae287',
    500: '#afd550',
    950: '#000000',
  },
}
SCSS
$custom: #afd550;
$custom-light: #cae287;
$custom-dark: #000000;
JSON
{
  "hex": "#afd550",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 80
  },
  "hsl": {
    "h": 77.143,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81965,
    "c": 0.16435,
    "h": 123.6
  },
  "luminance": 0.57282
}

Semantic roles & 50–950 ramp

primary
#AFD550
secondary
#523990
accent
#43E471
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD550

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

Preview Lab → · Contrast checker → · Palette generator →

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