#AFD366#AFD366

#AFD366 is a light, vivid yellow-green. Relative luminance 0.567; OKLCH L 81.8% C 0.143 H 124.6°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#AFD366
RGBrgb(175, 211, 102)
HSLhsl(80, 55%, 61%)
HSVhsv(80, 52%, 83%)
CMYKcmyk(17.1%, 0%, 51.7%, 17.3%)
CIE-LABlab(79.99, -28.80, 49.54)
CIE-LCHlch(79.99, 57.31, 120.17°)
OKLaboklab(81.75% -0.081 0.1174)
OKLCHoklch(81.75% 0.143 124.6)
XYZxyz(43.3718, 56.6615, 21.2196)
Luminance0.5666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD366 #8A66D3
analogous
#D3C166 #AFD366 #79D366
triadic
#AFD366 #66AFD3 #D366AF
tetradic
#AFD366 #66D3C1 #8A66D3 #D36679
square
#AFD366 #66D3C1 #8A66D3 #D36679
split-complementary
#AFD366 #6679D3 #C166D3
monochromatic
#71942B #96C438 #AFD366 #C8E196 #E1EEC5

Accessibility & contrast

On white

1.70
#AFD366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#AFD366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD366
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD366#FFFFFF#000000##000000
##AFD3661.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC85C
Deuteranopia (green-blind)
#D8C66D
Tritanopia (blue-blind)
#B5CABA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd366;
/* rgb */ color: rgb(175, 211, 102);
/* oklch */ color: oklch(81.8% 0.143 124.6);
Tailwind
colors: {
  custom: {
    50: '#c9e094',
    500: '#afd366',
    950: '#000000',
  },
}
SCSS
$custom: #afd366;
$custom-light: #c9e094;
$custom-dark: #000000;
JSON
{
  "hex": "#afd366",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 102
  },
  "hsl": {
    "h": 79.817,
    "s": 55.33,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81753,
    "c": 0.14263,
    "h": 124.6
  },
  "luminance": 0.56662
}

Semantic roles & 50–950 ramp

primary
#AFD366
secondary
#604499
accent
#23C358
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD366

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

Preview Lab → · Contrast checker → · Palette generator →

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