#AFD55E#AFD55E

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

Color values

HEX#AFD55E
RGBrgb(175, 213, 94)
HSLhsl(79, 59%, 60%)
HSVhsv(79, 56%, 84%)
CMYKcmyk(17.8%, 0%, 55.9%, 16.5%)
CIE-LABlab(80.47, -30.50, 53.79)
CIE-LCHlch(80.47, 61.83, 119.56°)
OKLaboklab(82.11% -0.0864 0.1258)
OKLCHoklch(82.11% 0.153 124.5)
XYZxyz(43.4940, 57.5103, 19.3967)
Luminance0.5751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD55E #845ED5
analogous
#D5C05E #AFD55E #73D55E
triadic
#AFD55E #5EAFD5 #D55EAF
tetradic
#AFD55E #5ED5C0 #845ED5 #D55E73
square
#AFD55E #5ED5C0 #845ED5 #D55E73
split-complementary
#AFD55E #5E73D5 #C05ED5
monochromatic
#709226 #95C333 #AFD55E #C7E28F #DFEEBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD55E#FFFFFF#000000##000000
##AFD55E1.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)
#E0C952
Deuteranopia (green-blind)
#DAC766
Tritanopia (blue-blind)
#B6CCBB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd55e;
/* rgb */ color: rgb(175, 213, 94);
/* oklch */ color: oklch(82.1% 0.153 124.5);
Tailwind
colors: {
  custom: {
    50: '#c9e28f',
    500: '#afd55e',
    950: '#000000',
  },
}
SCSS
$custom: #afd55e;
$custom-light: #c9e28f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd55e",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 94
  },
  "hsl": {
    "h": 79.16,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8211,
    "c": 0.15267,
    "h": 124.5
  },
  "luminance": 0.57511
}

Semantic roles & 50–950 ramp

primary
#AFD55E
secondary
#5C3F98
accent
#1FC655
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD55E

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

Preview Lab → · Contrast checker → · Palette generator →

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