#AFD855#AFD855

#AFD855 is a very light, vivid yellow-green. Relative luminance 0.589; OKLCH L 82.7% C 0.164 H 124.6°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#AFD855
RGBrgb(175, 216, 85)
HSLhsl(79, 63%, 59%)
HSVhsv(79, 61%, 85%)
CMYKcmyk(19%, 0%, 60.6%, 15.3%)
CIE-LABlab(81.23, -32.66, 58.59)
CIE-LCHlch(81.23, 67.08, 119.13°)
OKLaboklab(82.7% -0.0932 0.1351)
OKLCHoklch(82.7% 0.164 124.6)
XYZxyz(43.8750, 58.8812, 17.6463)
Luminance0.5888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD855 #7E55D8
analogous
#D8C055 #AFD855 #6ED855
triadic
#AFD855 #55AFD8 #D855AF
tetradic
#AFD855 #55D8C0 #7E55D8 #D8556E
square
#AFD855 #55D8C0 #7E55D8 #D8556E
split-complementary
#AFD855 #556ED8 #C055D8
monochromatic
#6E9121 #94C32D #AFD855 #C6E387 #DEEFB9

Accessibility & contrast

On white

1.64
#AFD855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#AFD855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD855
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD855#FFFFFF#000000##000000
##AFD8551.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB46
Deuteranopia (green-blind)
#DEC95E
Tritanopia (blue-blind)
#B6CEBC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd855;
/* rgb */ color: rgb(175, 216, 85);
/* oklch */ color: oklch(82.7% 0.164 124.6);
Tailwind
colors: {
  custom: {
    50: '#cae48a',
    500: '#afd855',
    950: '#000000',
  },
}
SCSS
$custom: #afd855;
$custom-light: #cae48a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd855",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 85
  },
  "hsl": {
    "h": 78.779,
    "s": 62.679,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82696,
    "c": 0.16417,
    "h": 124.6
  },
  "luminance": 0.58882
}

Semantic roles & 50–950 ramp

primary
#AFD855
secondary
#573B96
accent
#42E675
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD855

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

Preview Lab → · Contrast checker → · Palette generator →

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