#AFE173#AFE173

#AFE173 is a very light, vivid yellow-green. Relative luminance 0.642; OKLCH L 85.1% C 0.149 H 129.3°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#AFE173
RGBrgb(175, 225, 115)
HSLhsl(87, 65%, 67%)
HSVhsv(87, 49%, 88%)
CMYKcmyk(22.2%, 0%, 48.9%, 11.8%)
CIE-LABlab(84.07, -34.00, 48.30)
CIE-LCHlch(84.07, 59.07, 125.14°)
OKLaboklab(85.09% -0.0945 0.1156)
OKLCHoklch(85.09% 0.149 129.3)
XYZxyz(47.6985, 64.2013, 26.0954)
Luminance0.6420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE173 #A573E1
analogous
#E1DC73 #AFE173 #78E173
triadic
#AFE173 #73AFE1 #E173AF
tetradic
#AFE173 #73E1DC #A573E1 #E17378
square
#AFE173 #73E1DC #A573E1 #E17378
split-complementary
#AFE173 #7378E1 #DC73E1
monochromatic
#73B326 #92D641 #AFE173 #CCECA5 #E9F7D8

Accessibility & contrast

On white

1.52
#AFE173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#AFE173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE173
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE173#FFFFFF#000000##000000
##AFE1731.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD469
Deuteranopia (green-blind)
#E3D17A
Tritanopia (blue-blind)
#B3D9C8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe173;
/* rgb */ color: rgb(175, 225, 115);
/* oklch */ color: oklch(85.1% 0.149 129.3);
Tailwind
colors: {
  custom: {
    50: '#c9ea9d',
    500: '#afe173',
    950: '#000000',
  },
}
SCSS
$custom: #afe173;
$custom-light: #c9ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afe173",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 115
  },
  "hsl": {
    "h": 87.273,
    "s": 64.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85092,
    "c": 0.14934,
    "h": 129.3
  },
  "luminance": 0.64202
}

Semantic roles & 50–950 ramp

primary
#AFE173
secondary
#7744B4
accent
#19CD6B
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE173

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

Preview Lab → · Contrast checker → · Palette generator →

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