#AFD55C#AFD55C

#AFD55C is a very light, vivid yellow-green. Relative luminance 0.575; OKLCH L 82.1% C 0.154 H 124.3°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#AFD55C
RGBrgb(175, 213, 92)
HSLhsl(79, 59%, 60%)
HSVhsv(79, 57%, 84%)
CMYKcmyk(17.8%, 0%, 56.8%, 16.5%)
CIE-LABlab(80.45, -30.68, 54.66)
CIE-LCHlch(80.45, 62.68, 119.30°)
OKLaboklab(82.09% -0.0871 0.1275)
OKLCHoklch(82.09% 0.154 124.3)
XYZxyz(43.4054, 57.4748, 18.9302)
Luminance0.5747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD55C #825CD5
analogous
#D5BE5C #AFD55C #73D55C
triadic
#AFD55C #5CAFD5 #D55CAF
tetradic
#AFD55C #5CD5BE #825CD5 #D55C73
square
#AFD55C #5CD5BE #825CD5 #D55C73
split-complementary
#AFD55C #5C73D5 #BE5CD5
monochromatic
#6F9125 #95C232 #AFD55C #C7E28D #DFEEBD

Accessibility & contrast

On white

1.68
#AFD55C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#AFD55C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD55C
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD55C#FFFFFF#000000##000000
##AFD55C1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94F
Deuteranopia (green-blind)
#DBC764
Tritanopia (blue-blind)
#B6CCBB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd55c;
/* rgb */ color: rgb(175, 213, 92);
/* oklch */ color: oklch(82.1% 0.154 124.3);
Tailwind
colors: {
  custom: {
    50: '#c9e28e',
    500: '#afd55c',
    950: '#000000',
  },
}
SCSS
$custom: #afd55c;
$custom-light: #c9e28e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd55c",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 92
  },
  "hsl": {
    "h": 78.843,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82087,
    "c": 0.15443,
    "h": 124.3
  },
  "luminance": 0.57475
}

Semantic roles & 50–950 ramp

primary
#AFD55C
secondary
#5A3F97
accent
#46E277
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD55C

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

Preview Lab → · Contrast checker → · Palette generator →

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