#AFD155#AFD155

#AFD155 is a light, vivid yellow-green. Relative luminance 0.554; OKLCH L 81.1% C 0.155 H 122.8°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#AFD155
RGBrgb(175, 209, 85)
HSLhsl(76, 57%, 58%)
HSVhsv(76, 59%, 82%)
CMYKcmyk(16.3%, 0%, 59.3%, 18%)
CIE-LABlab(79.25, -29.38, 56.41)
CIE-LCHlch(79.25, 63.60, 117.51°)
OKLaboklab(81.11% -0.0841 0.1305)
OKLCHoklch(81.11% 0.155 122.8)
XYZxyz(42.1197, 55.3706, 17.0612)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD155 #7755D1
analogous
#D1B555 #AFD155 #71D155
triadic
#AFD155 #55AFD1 #D155AF
tetradic
#AFD155 #55D1B5 #7755D1 #D15571
square
#AFD155 #55D1B5 #7755D1 #D15571
split-complementary
#AFD155 #5571D1 #B555D1
monochromatic
#6C8725 #93B732 #AFD155 #C6DE85 #DCEBB5

Accessibility & contrast

On white

1.74
#AFD155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#AFD155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD155
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD155#FFFFFF#000000##000000
##AFD1551.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC547
Deuteranopia (green-blind)
#D8C45D
Tritanopia (blue-blind)
#B7C7B6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd155;
/* rgb */ color: rgb(175, 209, 85);
/* oklch */ color: oklch(81.1% 0.155 122.8);
Tailwind
colors: {
  custom: {
    50: '#c9df89',
    500: '#afd155',
    950: '#000000',
  },
}
SCSS
$custom: #afd155;
$custom-light: #c9df89;
$custom-dark: #000000;
JSON
{
  "hex": "#afd155",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 85
  },
  "hsl": {
    "h": 76.452,
    "s": 57.407,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81106,
    "c": 0.15526,
    "h": 122.8
  },
  "luminance": 0.55371
}

Semantic roles & 50–950 ramp

primary
#AFD155
secondary
#533C8E
accent
#47E171
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD155

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

Preview Lab → · Contrast checker → · Palette generator →

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