#AFD160#AFD160

#AFD160 is a light, vivid yellow-green. Relative luminance 0.556; OKLCH L 81.2% C 0.146 H 123.6°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#AFD160
RGBrgb(175, 209, 96)
HSLhsl(78, 55%, 60%)
HSVhsv(78, 54%, 82%)
CMYKcmyk(16.3%, 0%, 54.1%, 18%)
CIE-LABlab(79.36, -28.43, 51.60)
CIE-LCHlch(79.36, 58.91, 118.85°)
OKLaboklab(81.23% -0.0805 0.1213)
OKLCHoklch(81.23% 0.146 123.6)
XYZxyz(42.5911, 55.5592, 19.5442)
Luminance0.5556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD160 #8260D1
analogous
#D1BA60 #AFD160 #77D160
triadic
#AFD160 #60AFD1 #D160AF
tetradic
#AFD160 #60D1BA #8260D1 #D16077
square
#AFD160 #60D1BA #8260D1 #D16077
split-complementary
#AFD160 #6077D1 #BA60D1
monochromatic
#6F8E29 #95BD37 #AFD160 #C7DF8F #DFECBF

Accessibility & contrast

On white

1.73
#AFD160 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#AFD160 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD160
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD160#FFFFFF#000000##000000
##AFD1601.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC655
Deuteranopia (green-blind)
#D7C467
Tritanopia (blue-blind)
#B6C8B8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd160;
/* rgb */ color: rgb(175, 209, 96);
/* oklch */ color: oklch(81.2% 0.146 123.6);
Tailwind
colors: {
  custom: {
    50: '#c9df90',
    500: '#afd160',
    950: '#000000',
  },
}
SCSS
$custom: #afd160;
$custom-light: #c9df90;
$custom-dark: #000000;
JSON
{
  "hex": "#afd160",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 96
  },
  "hsl": {
    "h": 78.053,
    "s": 55.122,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81228,
    "c": 0.14559,
    "h": 123.6
  },
  "luminance": 0.55559
}

Semantic roles & 50–950 ramp

primary
#AFD160
secondary
#5A4194
accent
#49DE76
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD160

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

Preview Lab → · Contrast checker → · Palette generator →

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