#AFD261#AFD261

#AFD261 is a light, vivid yellow-green. Relative luminance 0.561; OKLCH L 81.5% C 0.146 H 123.9°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#AFD261
RGBrgb(175, 210, 97)
HSLhsl(79, 56%, 60%)
HSVhsv(79, 54%, 82%)
CMYKcmyk(16.7%, 0%, 53.8%, 17.6%)
CIE-LABlab(79.65, -28.81, 51.48)
CIE-LCHlch(79.65, 58.99, 119.23°)
OKLaboklab(81.47% -0.0815 0.1212)
OKLCHoklch(81.47% 0.146 123.9)
XYZxyz(42.8836, 56.0700, 19.8703)
Luminance0.5607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD261 #8461D2
analogous
#D2BC61 #AFD261 #76D261
triadic
#AFD261 #61AFD2 #D261AF
tetradic
#AFD261 #61D2BC #8461D2 #D26176
square
#AFD261 #61D2BC #8461D2 #D26176
split-complementary
#AFD261 #6176D2 #BC61D2
monochromatic
#709029 #95BF36 #AFD261 #C7E091 #DFEDC0

Accessibility & contrast

On white

1.72
#AFD261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#AFD261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD261
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD261#FFFFFF#000000##000000
##AFD2611.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC656
Deuteranopia (green-blind)
#D8C568
Tritanopia (blue-blind)
#B6C9B9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd261;
/* rgb */ color: rgb(175, 210, 97);
/* oklch */ color: oklch(81.5% 0.146 123.9);
Tailwind
colors: {
  custom: {
    50: '#c9e091',
    500: '#afd261',
    950: '#000000',
  },
}
SCSS
$custom: #afd261;
$custom-light: #c9e091;
$custom-dark: #000000;
JSON
{
  "hex": "#afd261",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 97
  },
  "hsl": {
    "h": 78.584,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81465,
    "c": 0.14599,
    "h": 123.9
  },
  "luminance": 0.5607
}

Semantic roles & 50–950 ramp

primary
#AFD261
secondary
#5C4296
accent
#22C354
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD261

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

Preview Lab → · Contrast checker → · Palette generator →

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