#AFD15D#AFD15D

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

Color values

HEX#AFD15D
RGBrgb(175, 209, 93)
HSLhsl(78, 56%, 59%)
HSVhsv(78, 56%, 82%)
CMYKcmyk(16.3%, 0%, 55.5%, 18%)
CIE-LABlab(79.33, -28.70, 52.94)
CIE-LCHlch(79.33, 60.21, 118.47°)
OKLaboklab(81.19% -0.0815 0.1239)
OKLCHoklch(81.19% 0.148 123.3)
XYZxyz(42.4557, 55.5050, 18.8307)
Luminance0.5551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD15D #7F5DD1
analogous
#D1B95D #AFD15D #75D15D
triadic
#AFD15D #5DAFD1 #D15DAF
tetradic
#AFD15D #5DD1B9 #7F5DD1 #D15D75
square
#AFD15D #5DD1B9 #7F5DD1 #D15D75
split-complementary
#AFD15D #5D75D1 #B95DD1
monochromatic
#6F8C28 #94BC35 #AFD15D #C7DF8D #DEECBC

Accessibility & contrast

On white

1.74
#AFD15D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD15D#FFFFFF#000000##000000
##AFD15D1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC551
Deuteranopia (green-blind)
#D7C464
Tritanopia (blue-blind)
#B6C8B7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd15d;
/* rgb */ color: rgb(175, 209, 93);
/* oklch */ color: oklch(81.2% 0.148 123.3);
Tailwind
colors: {
  custom: {
    50: '#c9df8e',
    500: '#afd15d',
    950: '#000000',
  },
}
SCSS
$custom: #afd15d;
$custom-light: #c9df8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd15d",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 93
  },
  "hsl": {
    "h": 77.586,
    "s": 55.769,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81193,
    "c": 0.14832,
    "h": 123.3
  },
  "luminance": 0.55505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD15D

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

Preview Lab → · Contrast checker → · Palette generator →

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