#AFD55F#AFD55F

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

Color values

HEX#AFD55F
RGBrgb(175, 213, 95)
HSLhsl(79, 58%, 60%)
HSVhsv(79, 55%, 84%)
CMYKcmyk(17.8%, 0%, 55.4%, 16.5%)
CIE-LABlab(80.48, -30.41, 53.34)
CIE-LCHlch(80.48, 61.40, 119.69°)
OKLaboklab(82.12% -0.0861 0.125)
OKLCHoklch(82.12% 0.152 124.6)
XYZxyz(43.5391, 57.5283, 19.6346)
Luminance0.5753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD55F #855FD5
analogous
#D5C05F #AFD55F #74D55F
triadic
#AFD55F #5FAFD5 #D55FAF
tetradic
#AFD55F #5FD5C0 #855FD5 #D55F74
square
#AFD55F #5FD5C0 #855FD5 #D55F74
split-complementary
#AFD55F #5F74D5 #C05FD5
monochromatic
#709327 #95C333 #AFD55F #C7E28F #DFEEC0

Accessibility & contrast

On white

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

On black

12.51
#AFD55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD55F
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD55F#FFFFFF#000000##000000
##AFD55F1.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd55f;
/* rgb */ color: rgb(175, 213, 95);
/* oklch */ color: oklch(82.1% 0.152 124.6);
Tailwind
colors: {
  custom: {
    50: '#c9e290',
    500: '#afd55f',
    950: '#000000',
  },
}
SCSS
$custom: #afd55f;
$custom-light: #c9e290;
$custom-dark: #000000;
JSON
{
  "hex": "#afd55f",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 95
  },
  "hsl": {
    "h": 79.322,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82121,
    "c": 0.15178,
    "h": 124.6
  },
  "luminance": 0.57529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD55F

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

Preview Lab → · Contrast checker → · Palette generator →

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