#AFD181#AFD181

#AFD181 is a light, moderate yellow-green. Relative luminance 0.563; OKLCH L 81.7% C 0.112 H 127.4°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#AFD181
RGBrgb(175, 209, 129)
HSLhsl(86, 47%, 66%)
HSVhsv(86, 38%, 82%)
CMYKcmyk(16.3%, 0%, 38.3%, 18%)
CIE-LABlab(79.78, -24.78, 36.04)
CIE-LCHlch(79.78, 43.74, 124.52°)
OKLaboklab(81.7% -0.0679 0.0887)
OKLCHoklch(81.7% 0.112 127.4)
XYZxyz(44.4416, 56.2994, 29.2901)
Luminance0.5630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD181 #A381D1
analogous
#D1CB81 #AFD181 #87D181
triadic
#AFD181 #81AFD1 #D181AF
tetradic
#AFD181 #81D1CB #A381D1 #D18187
square
#AFD181 #81D1CB #A381D1 #D18187
split-complementary
#AFD181 #8187D1 #CB81D1
monochromatic
#739E3A #93C154 #AFD181 #CBE1AE #E8F2DB

Accessibility & contrast

On white

1.71
#AFD181 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#AFD181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD181
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD181#FFFFFF#000000##000000
##AFD1811.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C77B
Deuteranopia (green-blind)
#D4C585
Tritanopia (blue-blind)
#B3CABD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd181;
/* rgb */ color: rgb(175, 209, 129);
/* oklch */ color: oklch(81.7% 0.112 127.4);
Tailwind
colors: {
  custom: {
    50: '#c8dfa6',
    500: '#afd181',
    950: '#000000',
  },
}
SCSS
$custom: #afd181;
$custom-light: #c8dfa6;
$custom-dark: #000000;
JSON
{
  "hex": "#afd181",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 129
  },
  "hsl": {
    "h": 85.5,
    "s": 46.512,
    "l": 66.275
  },
  "oklch": {
    "l": 0.81703,
    "c": 0.1117,
    "h": 127.4
  },
  "luminance": 0.563
}

Semantic roles & 50–950 ramp

primary
#AFD181
secondary
#7553A3
accent
#2CBA68
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD181

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

Preview Lab → · Contrast checker → · Palette generator →

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