#AFD355#AFD355

#AFD355 is a light, vivid yellow-green. Relative luminance 0.564; OKLCH L 81.6% C 0.158 H 123.4°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#AFD355
RGBrgb(175, 211, 85)
HSLhsl(77, 59%, 58%)
HSVhsv(77, 60%, 83%)
CMYKcmyk(17.1%, 0%, 59.7%, 17.3%)
CIE-LABlab(79.82, -30.32, 57.03)
CIE-LCHlch(79.82, 64.59, 118.00°)
OKLaboklab(81.56% -0.0868 0.1318)
OKLCHoklch(81.56% 0.158 123.4)
XYZxyz(42.6134, 56.3582, 17.2258)
Luminance0.5636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD355 #7955D3
analogous
#D3B855 #AFD355 #70D355
triadic
#AFD355 #55AFD3 #D355AF
tetradic
#AFD355 #55D3B8 #7955D3 #D35570
square
#AFD355 #55D3B8 #7955D3 #D35570
split-complementary
#AFD355 #5570D3 #B855D3
monochromatic
#6D8A24 #93BB30 #AFD355 #C6E086 #DDECB6

Accessibility & contrast

On white

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

On black

12.27
#AFD355 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD355
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD355#FFFFFF#000000##000000
##AFD3551.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC747
Deuteranopia (green-blind)
#D9C65E
Tritanopia (blue-blind)
#B7C9B8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd355;
/* rgb */ color: rgb(175, 211, 85);
/* oklch */ color: oklch(81.6% 0.158 123.4);
Tailwind
colors: {
  custom: {
    50: '#c9e08a',
    500: '#afd355',
    950: '#000000',
  },
}
SCSS
$custom: #afd355;
$custom-light: #c9e08a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd355",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 85
  },
  "hsl": {
    "h": 77.143,
    "s": 58.879,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81559,
    "c": 0.15781,
    "h": 123.4
  },
  "luminance": 0.56358
}

Semantic roles & 50–950 ramp

primary
#AFD355
secondary
#543C90
accent
#46E272
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD355

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

Preview Lab → · Contrast checker → · Palette generator →

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