#AFE46E#AFE46E

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

Color values

HEX#AFE46E
RGBrgb(175, 228, 110)
HSLhsl(87, 69%, 66%)
HSVhsv(87, 52%, 89%)
CMYKcmyk(23.2%, 0%, 51.8%, 10.6%)
CIE-LABlab(84.86, -35.90, 51.60)
CIE-LCHlch(84.86, 62.86, 124.83°)
OKLaboklab(85.71% -0.1002 0.1225)
OKLCHoklch(85.71% 0.158 129.3)
XYZxyz(48.2367, 65.7256, 24.8938)
Luminance0.6573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE46E #A36EE4
analogous
#E4DE6E #AFE46E #74E46E
triadic
#AFE46E #6EAFE4 #E46EAF
tetradic
#AFE46E #6EE4DE #A36EE4 #E46E74
square
#AFE46E #6EE4DE #A36EE4 #E46E74
split-complementary
#AFE46E #6E74E4 #DE6EE4
monochromatic
#73B622 #93DA3A #AFE46E #CBEEA2 #E8F7D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #afe46e;
/* rgb */ color: rgb(175, 228, 110);
/* oklch */ color: oklch(85.7% 0.158 129.3);
Tailwind
colors: {
  custom: {
    50: '#c9ec9a',
    500: '#afe46e',
    950: '#000000',
  },
}
SCSS
$custom: #afe46e;
$custom-light: #c9ec9a;
$custom-dark: #000000;
JSON
{
  "hex": "#afe46e",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 110
  },
  "hsl": {
    "h": 86.949,
    "s": 68.605,
    "l": 66.275
  },
  "oklch": {
    "l": 0.85708,
    "c": 0.15823,
    "h": 129.3
  },
  "luminance": 0.65727
}

Semantic roles & 50–950 ramp

primary
#AFE46E
secondary
#7540B6
accent
#15D169
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE46E

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

Preview Lab → · Contrast checker → · Palette generator →

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