#AFD15B#AFD15B

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

Color values

HEX#AFD15B
RGBrgb(175, 209, 91)
HSLhsl(77, 56%, 59%)
HSVhsv(77, 56%, 82%)
CMYKcmyk(16.3%, 0%, 56.5%, 18%)
CIE-LABlab(79.31, -28.88, 53.82)
CIE-LCHlch(79.31, 61.07, 118.22°)
OKLaboklab(81.17% -0.0822 0.1256)
OKLCHoklch(81.17% 0.15 123.2)
XYZxyz(42.3682, 55.4700, 18.3702)
Luminance0.5547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD15B #7D5BD1
analogous
#D1B85B #AFD15B #74D15B
triadic
#AFD15B #5BAFD1 #D15BAF
tetradic
#AFD15B #5BD1B8 #7D5BD1 #D15B74
square
#AFD15B #5BD1B8 #7D5BD1 #D15B74
split-complementary
#AFD15B #5B74D1 #B85BD1
monochromatic
#6E8B27 #94BA34 #AFD15B #C6DE8B #DEECBB

Accessibility & contrast

On white

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

On black

12.09
#AFD15B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD15B
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD15B#FFFFFF#000000##000000
##AFD15B1.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd15b;
/* rgb */ color: rgb(175, 209, 91);
/* oklch */ color: oklch(81.2% 0.150 123.2);
Tailwind
colors: {
  custom: {
    50: '#c9df8d',
    500: '#afd15b',
    950: '#000000',
  },
}
SCSS
$custom: #afd15b;
$custom-light: #c9df8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd15b",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 91
  },
  "hsl": {
    "h": 77.288,
    "s": 56.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8117,
    "c": 0.1501,
    "h": 123.2
  },
  "luminance": 0.5547
}

Semantic roles & 50–950 ramp

primary
#AFD15B
secondary
#573F91
accent
#48DF74
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD15B

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

Preview Lab → · Contrast checker → · Palette generator →

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