#AFD15E#AFD15E

#AFD15E is a light, vivid yellow-green. Relative luminance 0.555; OKLCH L 81.2% C 0.147 H 123.4°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#AFD15E
RGBrgb(175, 209, 94)
HSLhsl(78, 56%, 59%)
HSVhsv(78, 55%, 82%)
CMYKcmyk(16.3%, 0%, 55%, 18%)
CIE-LABlab(79.34, -28.61, 52.49)
CIE-LCHlch(79.34, 59.78, 118.59°)
OKLaboklab(81.2% -0.0812 0.1231)
OKLCHoklch(81.2% 0.147 123.4)
XYZxyz(42.5002, 55.5228, 19.0655)
Luminance0.5552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD15E #805ED1
analogous
#D1BA5E #AFD15E #76D15E
triadic
#AFD15E #5EAFD1 #D15EAF
tetradic
#AFD15E #5ED1BA #805ED1 #D15E76
square
#AFD15E #5ED1BA #805ED1 #D15E76
split-complementary
#AFD15E #5E76D1 #BA5ED1
monochromatic
#6F8C28 #94BC36 #AFD15E #C7DF8E #DEECBD

Accessibility & contrast

On white

1.73
#AFD15E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#AFD15E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD15E
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD15E#FFFFFF#000000##000000
##AFD15E1.001.7312.1012.10
#FFFFFF1.731.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC652
Deuteranopia (green-blind)
#D7C465
Tritanopia (blue-blind)
#B6C8B8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd15e;
/* rgb */ color: rgb(175, 209, 94);
/* oklch */ color: oklch(81.2% 0.147 123.4);
Tailwind
colors: {
  custom: {
    50: '#c9df8f',
    500: '#afd15e',
    950: '#000000',
  },
}
SCSS
$custom: #afd15e;
$custom-light: #c9df8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd15e",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 94
  },
  "hsl": {
    "h": 77.739,
    "s": 55.556,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81204,
    "c": 0.14742,
    "h": 123.4
  },
  "luminance": 0.55523
}

Semantic roles & 50–950 ramp

primary
#AFD15E
secondary
#594193
accent
#49DF75
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD15E

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

Preview Lab → · Contrast checker → · Palette generator →

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