#AFD154#AFD154

#AFD154 is a light, vivid yellow-green. Relative luminance 0.554; OKLCH L 81.1% C 0.156 H 122.8°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#AFD154
RGBrgb(175, 209, 84)
HSLhsl(76, 58%, 57%)
HSVhsv(76, 60%, 82%)
CMYKcmyk(16.3%, 0%, 59.8%, 18%)
CIE-LABlab(79.25, -29.46, 56.83)
CIE-LCHlch(79.25, 64.01, 117.40°)
OKLaboklab(81.1% -0.0844 0.1313)
OKLCHoklch(81.1% 0.156 122.8)
XYZxyz(42.0802, 55.3548, 16.8534)
Luminance0.5535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD154 #7654D1
analogous
#D1B554 #AFD154 #70D154
triadic
#AFD154 #54AFD1 #D154AF
tetradic
#AFD154 #54D1B5 #7654D1 #D15470
square
#AFD154 #54D1B5 #7654D1 #D15470
split-complementary
#AFD154 #5470D1 #B554D1
monochromatic
#6C8624 #92B731 #AFD154 #C6DE84 #DCEBB4

Accessibility & contrast

On white

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

On black

12.07
#AFD154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD154
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD154#FFFFFF#000000##000000
##AFD1541.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC546
Deuteranopia (green-blind)
#D8C45C
Tritanopia (blue-blind)
#B7C7B6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd154;
/* rgb */ color: rgb(175, 209, 84);
/* oklch */ color: oklch(81.1% 0.156 122.8);
Tailwind
colors: {
  custom: {
    50: '#c9df89',
    500: '#afd154',
    950: '#000000',
  },
}
SCSS
$custom: #afd154;
$custom-light: #c9df89;
$custom-dark: #000000;
JSON
{
  "hex": "#afd154",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 84
  },
  "hsl": {
    "h": 76.32,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81095,
    "c": 0.15609,
    "h": 122.8
  },
  "luminance": 0.55355
}

Semantic roles & 50–950 ramp

primary
#AFD154
secondary
#523C8D
accent
#47E171
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD154

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

Preview Lab → · Contrast checker → · Palette generator →

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