#AFD55D#AFD55D

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

Color values

HEX#AFD55D
RGBrgb(175, 213, 93)
HSLhsl(79, 59%, 60%)
HSVhsv(79, 56%, 84%)
CMYKcmyk(17.8%, 0%, 56.3%, 16.5%)
CIE-LABlab(80.46, -30.59, 54.22)
CIE-LCHlch(80.46, 62.26, 119.43°)
OKLaboklab(82.1% -0.0868 0.1267)
OKLCHoklch(82.1% 0.154 124.4)
XYZxyz(43.4494, 57.4924, 19.1619)
Luminance0.5749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD55D #835DD5
analogous
#D5BF5D #AFD55D #73D55D
triadic
#AFD55D #5DAFD5 #D55DAF
tetradic
#AFD55D #5DD5BF #835DD5 #D55D73
square
#AFD55D #5DD5BF #835DD5 #D55D73
split-complementary
#AFD55D #5D73D5 #BF5DD5
monochromatic
#709226 #95C232 #AFD55D #C7E28E #DFEEBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD55D#FFFFFF#000000##000000
##AFD55D1.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)
#E0C951
Deuteranopia (green-blind)
#DBC765
Tritanopia (blue-blind)
#B6CCBB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd55d;
/* rgb */ color: rgb(175, 213, 93);
/* oklch */ color: oklch(82.1% 0.154 124.4);
Tailwind
colors: {
  custom: {
    50: '#c9e28f',
    500: '#afd55d',
    950: '#000000',
  },
}
SCSS
$custom: #afd55d;
$custom-light: #c9e28f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd55d",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 93
  },
  "hsl": {
    "h": 79,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.82098,
    "c": 0.15355,
    "h": 124.4
  },
  "luminance": 0.57493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD55D

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

Preview Lab → · Contrast checker → · Palette generator →

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