#AFE175#AFE175

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

Color values

HEX#AFE175
RGBrgb(175, 225, 117)
HSLhsl(88, 64%, 67%)
HSVhsv(88, 48%, 88%)
CMYKcmyk(22.2%, 0%, 48%, 11.8%)
CIE-LABlab(84.09, -33.78, 47.38)
CIE-LCHlch(84.09, 58.19, 125.49°)
OKLaboklab(85.12% -0.0938 0.1137)
OKLCHoklch(85.12% 0.147 129.5)
XYZxyz(47.8148, 64.2478, 26.7081)
Luminance0.6425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE175 #A775E1
analogous
#E1DD75 #AFE175 #79E175
triadic
#AFE175 #75AFE1 #E175AF
tetradic
#AFE175 #75E1DD #A775E1 #E17579
square
#AFE175 #75E1DD #A775E1 #E17579
split-complementary
#AFE175 #7579E1 #DD75E1
monochromatic
#73B427 #92D643 #AFE175 #CCECA7 #E9F7DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE175#FFFFFF#000000##000000
##AFE1751.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)
#EAD46C
Deuteranopia (green-blind)
#E3D17B
Tritanopia (blue-blind)
#B3D9C8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe175;
/* rgb */ color: rgb(175, 225, 117);
/* oklch */ color: oklch(85.1% 0.147 129.5);
Tailwind
colors: {
  custom: {
    50: '#c9ea9f',
    500: '#afe175',
    950: '#000000',
  },
}
SCSS
$custom: #afe175;
$custom-light: #c9ea9f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe175",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 117
  },
  "hsl": {
    "h": 87.778,
    "s": 64.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8512,
    "c": 0.14739,
    "h": 129.5
  },
  "luminance": 0.64249
}

Semantic roles & 50–950 ramp

primary
#AFE175
secondary
#7945B5
accent
#19CC6C
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE175

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

Preview Lab → · Contrast checker → · Palette generator →

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