#AFE46F#AFE46F

#AFE46F is a very light, vivid yellow-green. Relative luminance 0.657; OKLCH L 85.7% C 0.157 H 129.4°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#AFE46F
RGBrgb(175, 228, 111)
HSLhsl(87, 68%, 66%)
HSVhsv(87, 51%, 89%)
CMYKcmyk(23.2%, 0%, 51.3%, 10.6%)
CIE-LABlab(84.87, -35.80, 51.14)
CIE-LCHlch(84.87, 62.43, 124.99°)
OKLaboklab(85.72% -0.0998 0.1216)
OKLCHoklch(85.72% 0.157 129.4)
XYZxyz(48.2914, 65.7475, 25.1821)
Luminance0.6575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE46F #A46FE4
analogous
#E4DE6F #AFE46F #75E46F
triadic
#AFE46F #6FAFE4 #E46FAF
tetradic
#AFE46F #6FE4DE #A46FE4 #E46F75
square
#AFE46F #6FE4DE #A46FE4 #E46F75
split-complementary
#AFE46F #6F75E4 #DE6FE4
monochromatic
#73B622 #92DA3B #AFE46F #CCEEA3 #E8F7D6

Accessibility & contrast

On white

1.48
#AFE46F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#AFE46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE46F
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE46F#FFFFFF#000000##000000
##AFE46F1.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD664
Deuteranopia (green-blind)
#E6D376
Tritanopia (blue-blind)
#B3DBC9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe46f;
/* rgb */ color: rgb(175, 228, 111);
/* oklch */ color: oklch(85.7% 0.157 129.4);
Tailwind
colors: {
  custom: {
    50: '#c9ec9b',
    500: '#afe46f',
    950: '#000000',
  },
}
SCSS
$custom: #afe46f;
$custom-light: #c9ec9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afe46f",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 111
  },
  "hsl": {
    "h": 87.179,
    "s": 68.421,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85721,
    "c": 0.1573,
    "h": 129.4
  },
  "luminance": 0.65748
}

Semantic roles & 50–950 ramp

primary
#AFE46F
secondary
#7640B7
accent
#15D06A
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE46F

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

Preview Lab → · Contrast checker → · Palette generator →

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