#AFD15F#AFD15F

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

Color values

HEX#AFD15F
RGBrgb(175, 209, 95)
HSLhsl(78, 55%, 60%)
HSVhsv(78, 55%, 82%)
CMYKcmyk(16.3%, 0%, 54.5%, 18%)
CIE-LABlab(79.35, -28.52, 52.05)
CIE-LCHlch(79.35, 59.35, 118.72°)
OKLaboklab(81.22% -0.0808 0.1222)
OKLCHoklch(81.22% 0.147 123.5)
XYZxyz(42.5454, 55.5409, 19.3033)
Luminance0.5554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD15F #815FD1
analogous
#D1BA5F #AFD15F #76D15F
triadic
#AFD15F #5FAFD1 #D15FAF
tetradic
#AFD15F #5FD1BA #815FD1 #D15F76
square
#AFD15F #5FD1BA #815FD1 #D15F76
split-complementary
#AFD15F #5F76D1 #BA5FD1
monochromatic
#6F8D29 #95BD36 #AFD15F #C7DF8F #DFECBE

Accessibility & contrast

On white

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

On black

12.11
#AFD15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD15F
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD15F#FFFFFF#000000##000000
##AFD15F1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd15f;
/* rgb */ color: rgb(175, 209, 95);
/* oklch */ color: oklch(81.2% 0.146 123.5);
Tailwind
colors: {
  custom: {
    50: '#c9df90',
    500: '#afd15f',
    950: '#000000',
  },
}
SCSS
$custom: #afd15f;
$custom-light: #c9df90;
$custom-dark: #000000;
JSON
{
  "hex": "#afd15f",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 95
  },
  "hsl": {
    "h": 77.895,
    "s": 55.34,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81216,
    "c": 0.1465,
    "h": 123.5
  },
  "luminance": 0.55541
}

Semantic roles & 50–950 ramp

primary
#AFD15F
secondary
#5A4193
accent
#49DF76
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD15F

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

Preview Lab → · Contrast checker → · Palette generator →

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