#AFD150#AFD150

#AFD150 is a light, vivid yellow-green. Relative luminance 0.553; OKLCH L 81.1% C 0.159 H 122.5°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#AFD150
RGBrgb(175, 209, 80)
HSLhsl(76, 58%, 57%)
HSVhsv(76, 62%, 82%)
CMYKcmyk(16.3%, 0%, 61.7%, 18%)
CIE-LABlab(79.21, -29.77, 58.50)
CIE-LCHlch(79.21, 65.64, 116.97°)
OKLaboklab(81.06% -0.0857 0.1343)
OKLCHoklch(81.06% 0.159 122.5)
XYZxyz(41.9280, 55.2940, 16.0518)
Luminance0.5529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD150 #7250D1
analogous
#D1B350 #AFD150 #6FD150
triadic
#AFD150 #50AFD1 #D150AF
tetradic
#AFD150 #50D1B3 #7250D1 #D1506F
square
#AFD150 #50D1B3 #7250D1 #D1506F
split-complementary
#AFD150 #506FD1 #B350D1
monochromatic
#6A8423 #91B42F #AFD150 #C5DE80 #DBEAB1

Accessibility & contrast

On white

1.74
#AFD150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#AFD150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD150
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD150#FFFFFF#000000##000000
##AFD1501.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC540
Deuteranopia (green-blind)
#D8C459
Tritanopia (blue-blind)
#B7C7B6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd150;
/* rgb */ color: rgb(175, 209, 80);
/* oklch */ color: oklch(81.1% 0.159 122.5);
Tailwind
colors: {
  custom: {
    50: '#cadf86',
    500: '#afd150',
    950: '#000000',
  },
}
SCSS
$custom: #afd150;
$custom-light: #cadf86;
$custom-dark: #000000;
JSON
{
  "hex": "#afd150",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 80
  },
  "hsl": {
    "h": 75.814,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81056,
    "c": 0.15933,
    "h": 122.5
  },
  "luminance": 0.55294
}

Semantic roles & 50–950 ramp

primary
#AFD150
secondary
#503A8B
accent
#46E26F
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD150

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

Preview Lab → · Contrast checker → · Palette generator →

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