#AFE174#AFE174

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

Color values

HEX#AFE174
RGBrgb(175, 225, 116)
HSLhsl(88, 64%, 67%)
HSVhsv(88, 48%, 88%)
CMYKcmyk(22.2%, 0%, 48.4%, 11.8%)
CIE-LABlab(84.08, -33.89, 47.84)
CIE-LCHlch(84.08, 58.63, 125.31°)
OKLaboklab(85.11% -0.0941 0.1147)
OKLCHoklch(85.11% 0.148 129.4)
XYZxyz(47.7563, 64.2244, 26.4001)
Luminance0.6422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE174 #A674E1
analogous
#E1DD74 #AFE174 #79E174
triadic
#AFE174 #74AFE1 #E174AF
tetradic
#AFE174 #74E1DD #A674E1 #E17479
square
#AFE174 #74E1DD #A674E1 #E17479
split-complementary
#AFE174 #7479E1 #DD74E1
monochromatic
#73B427 #92D642 #AFE174 #CCECA6 #E9F7D9

Accessibility & contrast

On white

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

On black

13.85
#AFE174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE174
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE174#FFFFFF#000000##000000
##AFE1741.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe174;
/* rgb */ color: rgb(175, 225, 116);
/* oklch */ color: oklch(85.1% 0.148 129.4);
Tailwind
colors: {
  custom: {
    50: '#c9ea9e',
    500: '#afe174',
    950: '#000000',
  },
}
SCSS
$custom: #afe174;
$custom-light: #c9ea9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe174",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 116
  },
  "hsl": {
    "h": 87.523,
    "s": 64.497,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85106,
    "c": 0.14837,
    "h": 129.4
  },
  "luminance": 0.64225
}

Semantic roles & 50–950 ramp

primary
#AFE174
secondary
#7844B5
accent
#19CC6B
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE174

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

Preview Lab → · Contrast checker → · Palette generator →

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