#AFD361#AFD361

#AFD361 is a light, vivid yellow-green. Relative luminance 0.566; OKLCH L 81.7% C 0.147 H 124.2°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#AFD361
RGBrgb(175, 211, 97)
HSLhsl(79, 56%, 60%)
HSVhsv(79, 54%, 83%)
CMYKcmyk(17.1%, 0%, 54%, 17.3%)
CIE-LABlab(79.93, -29.28, 51.80)
CIE-LCHlch(79.93, 59.51, 119.48°)
OKLaboklab(81.69% -0.0828 0.1219)
OKLCHoklch(81.69% 0.147 124.2)
XYZxyz(43.1312, 56.5653, 19.9528)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD361 #8561D3
analogous
#D3BE61 #AFD361 #76D361
triadic
#AFD361 #61AFD3 #D361AF
tetradic
#AFD361 #61D3BE #8561D3 #D36176
square
#AFD361 #61D3BE #8561D3 #D36176
split-complementary
#AFD361 #6176D3 #BE61D3
monochromatic
#709128 #95C136 #AFD361 #C7E091 #DFEEC1

Accessibility & contrast

On white

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

On black

12.31
#AFD361 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD361
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD361#FFFFFF#000000##000000
##AFD3611.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC756
Deuteranopia (green-blind)
#D9C668
Tritanopia (blue-blind)
#B6CABA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd361;
/* rgb */ color: rgb(175, 211, 97);
/* oklch */ color: oklch(81.7% 0.147 124.2);
Tailwind
colors: {
  custom: {
    50: '#c9e091',
    500: '#afd361',
    950: '#000000',
  },
}
SCSS
$custom: #afd361;
$custom-light: #c9e091;
$custom-dark: #000000;
JSON
{
  "hex": "#afd361",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 97
  },
  "hsl": {
    "h": 78.947,
    "s": 56.436,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81692,
    "c": 0.14732,
    "h": 124.2
  },
  "luminance": 0.56566
}

Semantic roles & 50–950 ramp

primary
#AFD361
secondary
#5C4197
accent
#22C455
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD361

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

Preview Lab → · Contrast checker → · Palette generator →

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