#AFD161#AFD161

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

Color values

HEX#AFD161
RGBrgb(175, 209, 97)
HSLhsl(78, 55%, 60%)
HSVhsv(78, 54%, 82%)
CMYKcmyk(16.3%, 0%, 53.6%, 18%)
CIE-LABlab(79.37, -28.33, 51.15)
CIE-LCHlch(79.37, 58.47, 118.98°)
OKLaboklab(81.24% -0.0801 0.1204)
OKLCHoklch(81.24% 0.145 123.6)
XYZxyz(42.6375, 55.5777, 19.7883)
Luminance0.5558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD161 #8361D1
analogous
#D1BB61 #AFD161 #77D161
triadic
#AFD161 #61AFD1 #D161AF
tetradic
#AFD161 #61D1BB #8361D1 #D16177
square
#AFD161 #61D1BB #8361D1 #D16177
split-complementary
#AFD161 #6177D1 #BB61D1
monochromatic
#708E29 #95BE37 #AFD161 #C7DF90 #DFEDC0

Accessibility & contrast

On white

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

On black

12.12
#AFD161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD161
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD161#FFFFFF#000000##000000
##AFD1611.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd161;
/* rgb */ color: rgb(175, 209, 97);
/* oklch */ color: oklch(81.2% 0.145 123.6);
Tailwind
colors: {
  custom: {
    50: '#c9df91',
    500: '#afd161',
    950: '#000000',
  },
}
SCSS
$custom: #afd161;
$custom-light: #c9df91;
$custom-dark: #000000;
JSON
{
  "hex": "#afd161",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 78.214,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.81239,
    "c": 0.14466,
    "h": 123.6
  },
  "luminance": 0.55578
}

Semantic roles & 50–950 ramp

primary
#AFD161
secondary
#5B4294
accent
#4ADE77
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD161

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

Preview Lab → · Contrast checker → · Palette generator →

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