#AFD646#AFD646

#AFD646 is a very light, vivid yellow-green. Relative luminance 0.576; OKLCH L 82.1% C 0.173 H 123.3°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#AFD646
RGBrgb(175, 214, 70)
HSLhsl(76, 64%, 56%)
HSVhsv(76, 67%, 84%)
CMYKcmyk(18.2%, 0%, 67.3%, 16.1%)
CIE-LABlab(80.54, -32.80, 63.94)
CIE-LCHlch(80.54, 71.86, 117.16°)
OKLaboklab(82.11% -0.095 0.1444)
OKLCHoklch(82.11% 0.173 123.3)
XYZxyz(42.8317, 57.6490, 14.6640)
Luminance0.5765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD646 #6D46D6
analogous
#D6B546 #AFD646 #67D646
triadic
#AFD646 #46AFD6 #D646AF
tetradic
#AFD646 #46D6B5 #6D46D6 #D64667
square
#AFD646 #46D6B5 #6D46D6 #D64667
split-complementary
#AFD646 #4667D6 #B546D6
monochromatic
#68841D #90B628 #AFD646 #C5E178 #DAECAA

Accessibility & contrast

On white

1.68
#AFD646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#AFD646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD646
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD646#FFFFFF#000000##000000
##AFD6461.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C931
Deuteranopia (green-blind)
#DDC851
Tritanopia (blue-blind)
#B7CCB9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd646;
/* rgb */ color: rgb(175, 214, 70);
/* oklch */ color: oklch(82.1% 0.173 123.3);
Tailwind
colors: {
  custom: {
    50: '#cae281',
    500: '#afd646',
    950: '#000000',
  },
}
SCSS
$custom: #afd646;
$custom-light: #cae281;
$custom-dark: #000000;
JSON
{
  "hex": "#afd646",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 70
  },
  "hsl": {
    "h": 76.25,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82107,
    "c": 0.17288,
    "h": 123.3
  },
  "luminance": 0.57649
}

Semantic roles & 50–950 ramp

primary
#AFD646
secondary
#4C358B
accent
#41E76E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD646

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

Preview Lab → · Contrast checker → · Palette generator →

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