#AFE46C#AFE46C

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

Color values

HEX#AFE46C
RGBrgb(175, 228, 108)
HSLhsl(87, 69%, 66%)
HSVhsv(87, 53%, 89%)
CMYKcmyk(23.2%, 0%, 52.6%, 10.6%)
CIE-LABlab(84.83, -36.10, 52.49)
CIE-LCHlch(84.83, 63.71, 124.52°)
OKLaboklab(85.68% -0.1009 0.1243)
OKLCHoklch(85.68% 0.16 129.1)
XYZxyz(48.1290, 65.6825, 24.3267)
Luminance0.6568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE46C #A16CE4
analogous
#E4DD6C #AFE46C #73E46C
triadic
#AFE46C #6CAFE4 #E46CAF
tetradic
#AFE46C #6CE4DD #A16CE4 #E46C73
square
#AFE46C #6CE4DD #A16CE4 #E46C73
split-complementary
#AFE46C #6C73E4 #DD6CE4
monochromatic
#73B421 #93DB38 #AFE46C #CBEDA0 #E7F7D3

Accessibility & contrast

On white

1.49
#AFE46C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#AFE46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE46C
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE46C#FFFFFF#000000##000000
##AFE46C1.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe46c;
/* rgb */ color: rgb(175, 228, 108);
/* oklch */ color: oklch(85.7% 0.160 129.1);
Tailwind
colors: {
  custom: {
    50: '#c9ec99',
    500: '#afe46c',
    950: '#000000',
  },
}
SCSS
$custom: #afe46c;
$custom-light: #c9ec99;
$custom-dark: #000000;
JSON
{
  "hex": "#afe46c",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 108
  },
  "hsl": {
    "h": 86.5,
    "s": 68.966,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85683,
    "c": 0.16008,
    "h": 129.1
  },
  "luminance": 0.65683
}

Semantic roles & 50–950 ramp

primary
#AFE46C
secondary
#733FB5
accent
#15D168
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE46C

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

Preview Lab → · Contrast checker → · Palette generator →

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