#AFE46D#AFE46D

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

Color values

HEX#AFE46D
RGBrgb(175, 228, 109)
HSLhsl(87, 69%, 66%)
HSVhsv(87, 52%, 89%)
CMYKcmyk(23.2%, 0%, 52.2%, 10.6%)
CIE-LABlab(84.85, -36.00, 52.05)
CIE-LCHlch(84.85, 63.28, 124.67°)
OKLaboklab(85.7% -0.1005 0.1234)
OKLCHoklch(85.7% 0.159 129.2)
XYZxyz(48.1825, 65.7039, 24.6086)
Luminance0.6571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE46D #A26DE4
analogous
#E4DE6D #AFE46D #73E46D
triadic
#AFE46D #6DAFE4 #E46DAF
tetradic
#AFE46D #6DE4DE #A26DE4 #E46D73
square
#AFE46D #6DE4DE #A26DE4 #E46D73
split-complementary
#AFE46D #6D73E4 #DE6DE4
monochromatic
#73B521 #93DA39 #AFE46D #CBEEA1 #E8F7D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE46D#FFFFFF#000000##000000
##AFE46D1.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)
#EDD662
Deuteranopia (green-blind)
#E6D375
Tritanopia (blue-blind)
#B3DBC9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe46d;
/* rgb */ color: rgb(175, 228, 109);
/* oklch */ color: oklch(85.7% 0.159 129.2);
Tailwind
colors: {
  custom: {
    50: '#c9ec9a',
    500: '#afe46d',
    950: '#000000',
  },
}
SCSS
$custom: #afe46d;
$custom-light: #c9ec9a;
$custom-dark: #000000;
JSON
{
  "hex": "#afe46d",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 109
  },
  "hsl": {
    "h": 86.723,
    "s": 68.786,
    "l": 66.078
  },
  "oklch": {
    "l": 0.85696,
    "c": 0.15917,
    "h": 129.2
  },
  "luminance": 0.65705
}

Semantic roles & 50–950 ramp

primary
#AFE46D
secondary
#7440B6
accent
#15D168
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE46D

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

Preview Lab → · Contrast checker → · Palette generator →

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