#AFD854#AFD854

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

Color values

HEX#AFD854
RGBrgb(175, 216, 84)
HSLhsl(79, 63%, 59%)
HSVhsv(79, 61%, 85%)
CMYKcmyk(19%, 0%, 61.1%, 15.3%)
CIE-LABlab(81.22, -32.73, 59.00)
CIE-LCHlch(81.22, 67.48, 119.02°)
OKLaboklab(82.69% -0.0936 0.1359)
OKLCHoklch(82.69% 0.165 124.5)
XYZxyz(43.8355, 58.8654, 17.4385)
Luminance0.5887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD854 #7D54D8
analogous
#D8BF54 #AFD854 #6DD854
triadic
#AFD854 #54AFD8 #D854AF
tetradic
#AFD854 #54D8BF #7D54D8 #D8546D
square
#AFD854 #54D8BF #7D54D8 #D8546D
split-complementary
#AFD854 #546DD8 #BF54D8
monochromatic
#6E9121 #94C22C #AFD854 #C6E386 #DEEFB8

Accessibility & contrast

On white

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

On black

12.77
#AFD854 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD854
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD854#FFFFFF#000000##000000
##AFD8541.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd854;
/* rgb */ color: rgb(175, 216, 84);
/* oklch */ color: oklch(82.7% 0.165 124.5);
Tailwind
colors: {
  custom: {
    50: '#cae489',
    500: '#afd854',
    950: '#000000',
  },
}
SCSS
$custom: #afd854;
$custom-light: #cae489;
$custom-dark: #000000;
JSON
{
  "hex": "#afd854",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 84
  },
  "hsl": {
    "h": 78.636,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82686,
    "c": 0.16498,
    "h": 124.5
  },
  "luminance": 0.58866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD854

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

Preview Lab → · Contrast checker → · Palette generator →

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