#AFD147#AFD147

#AFD147 is a light, vivid yellow-green. Relative luminance 0.552; OKLCH L 81.0% C 0.166 H 122.1°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#AFD147
RGBrgb(175, 209, 71)
HSLhsl(75, 60%, 55%)
HSVhsv(75, 66%, 82%)
CMYKcmyk(16.3%, 0%, 66%, 18%)
CIE-LABlab(79.14, -30.40, 62.10)
CIE-LCHlch(79.14, 69.14, 116.09°)
OKLaboklab(80.98% -0.0883 0.1407)
OKLCHoklch(80.98% 0.166 122.1)
XYZxyz(41.6175, 55.1697, 14.4163)
Luminance0.5517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD147 #6947D1
analogous
#D1AE47 #AFD147 #6AD147
triadic
#AFD147 #47AFD1 #D147AF
tetradic
#AFD147 #47D1AE #6947D1 #D1476A
square
#AFD147 #47D1AE #6947D1 #D1476A
split-complementary
#AFD147 #476AD1 #AE47D1
monochromatic
#677E20 #8FAF2C #AFD147 #C4DD78 #DAE9A9

Accessibility & contrast

On white

1.75
#AFD147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#AFD147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD147
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD147#FFFFFF#000000##000000
##AFD1471.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC534
Deuteranopia (green-blind)
#D9C452
Tritanopia (blue-blind)
#B8C7B5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd147;
/* rgb */ color: rgb(175, 209, 71);
/* oklch */ color: oklch(81.0% 0.166 122.1);
Tailwind
colors: {
  custom: {
    50: '#cadf81',
    500: '#afd147',
    950: '#000000',
  },
}
SCSS
$custom: #afd147;
$custom-light: #cadf81;
$custom-dark: #000000;
JSON
{
  "hex": "#afd147",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 71
  },
  "hsl": {
    "h": 74.783,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80976,
    "c": 0.16611,
    "h": 122.1
  },
  "luminance": 0.5517
}

Semantic roles & 50–950 ramp

primary
#AFD147
secondary
#4A3786
accent
#45E36C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD147

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

Preview Lab → · Contrast checker → · Palette generator →

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