#AFC950#AFC950

#AFC950 is a light, vivid yellow-green. Relative luminance 0.515; OKLCH L 79.2% C 0.149 H 120.2°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#AFC950
RGBrgb(175, 201, 80)
HSLhsl(73, 53%, 55%)
HSVhsv(73, 60%, 79%)
CMYKcmyk(12.9%, 0%, 60.2%, 21.2%)
CIE-LABlab(76.96, -25.95, 56.04)
CIE-LCHlch(76.96, 61.76, 114.85°)
OKLaboklab(79.25% -0.0751 0.1291)
OKLCHoklch(79.25% 0.149 120.2)
XYZxyz(40.0143, 51.4666, 15.4139)
Luminance0.5147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC950 #6A50C9
analogous
#C9A750 #AFC950 #72C950
triadic
#AFC950 #50AFC9 #C950AF
tetradic
#AFC950 #50C9A7 #6A50C9 #C95072
square
#AFC950 #50C9A7 #6A50C9 #C95072
split-complementary
#AFC950 #5072C9 #A750C9
monochromatic
#677925 #8FA834 #AFC950 #C4D77F #DAE6AE

Accessibility & contrast

On white

1.86
#AFC950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#AFC950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC950
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC950#FFFFFF#000000##000000
##AFC9501.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE42
Deuteranopia (green-blind)
#D2BE58
Tritanopia (blue-blind)
#B8BFAF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afc950;
/* rgb */ color: rgb(175, 201, 80);
/* oklch */ color: oklch(79.2% 0.149 120.2);
Tailwind
colors: {
  custom: {
    50: '#c9d986',
    500: '#afc950',
    950: '#000000',
  },
}
SCSS
$custom: #afc950;
$custom-light: #c9d986;
$custom-dark: #000000;
JSON
{
  "hex": "#afc950",
  "rgb": {
    "r": 175,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 72.893,
    "s": 52.838,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79245,
    "c": 0.14935,
    "h": 120.2
  },
  "luminance": 0.51466
}

Semantic roles & 50–950 ramp

primary
#AFC950
secondary
#4B3C82
accent
#4CDC6B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#13140B
muted
#83837E

Preview Lab

Preview with #AFC950

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

Preview Lab → · Contrast checker → · Palette generator →

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