#AFD950#AFD950

#AFD950 is a very light, vivid yellow-green. Relative luminance 0.593; OKLCH L 82.9% C 0.169 H 124.5°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#AFD950
RGBrgb(175, 217, 80)
HSLhsl(78, 64%, 58%)
HSVhsv(78, 63%, 85%)
CMYKcmyk(19.4%, 0%, 63.1%, 14.9%)
CIE-LABlab(81.47, -33.50, 60.94)
CIE-LCHlch(81.47, 69.54, 118.80°)
OKLaboklab(82.88% -0.096 0.1395)
OKLCHoklch(82.88% 0.169 124.5)
XYZxyz(43.9403, 59.3185, 16.7225)
Luminance0.5932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD950 #7A50D9
analogous
#D9BE50 #AFD950 #6AD950
triadic
#AFD950 #50AFD9 #D950AF
tetradic
#AFD950 #50D9BE #7A50D9 #D9506A
square
#AFD950 #50D9BE #7A50D9 #D9506A
split-complementary
#AFD950 #506AD9 #BE50D9
monochromatic
#6D8F1F #93C22A #AFD950 #C6E482 #DDEFB5

Accessibility & contrast

On white

1.63
#AFD950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#AFD950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD950
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD950#FFFFFF#000000##000000
##AFD9501.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC3F
Deuteranopia (green-blind)
#DFCA5A
Tritanopia (blue-blind)
#B6CFBD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd950;
/* rgb */ color: rgb(175, 217, 80);
/* oklch */ color: oklch(82.9% 0.169 124.5);
Tailwind
colors: {
  custom: {
    50: '#cae587',
    500: '#afd950',
    950: '#000000',
  },
}
SCSS
$custom: #afd950;
$custom-light: #cae587;
$custom-dark: #000000;
JSON
{
  "hex": "#afd950",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 78.394,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82876,
    "c": 0.16936,
    "h": 124.5
  },
  "luminance": 0.59319
}

Semantic roles & 50–950 ramp

primary
#AFD950
secondary
#553895
accent
#40E774
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD950

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

Preview Lab → · Contrast checker → · Palette generator →

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