#AFE775#AFE775

#AFE775 is a very light, vivid yellow-green. Relative luminance 0.675; OKLCH L 86.5% C 0.156 H 130.6°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#AFE775
RGBrgb(175, 231, 117)
HSLhsl(89, 70%, 68%)
HSVhsv(89, 49%, 91%)
CMYKcmyk(24.2%, 0%, 49.4%, 9.4%)
CIE-LABlab(85.78, -36.53, 49.43)
CIE-LCHlch(85.78, 61.46, 126.46°)
OKLaboklab(86.48% -0.1014 0.1183)
OKLCHoklch(86.48% 0.156 130.6)
XYZxyz(49.4654, 67.5490, 27.2583)
Luminance0.6755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE775 #AD75E7
analogous
#E7E675 #AFE775 #76E775
triadic
#AFE775 #75AFE7 #E775AF
tetradic
#AFE775 #75E7E6 #AD75E7 #E77576
square
#AFE775 #75E7E6 #AD75E7 #E77576
split-complementary
#AFE775 #7576E7 #E675E7
monochromatic
#72C021 #91DE41 #AFE775 #CDF0A9 #EBF9DD

Accessibility & contrast

On white

1.45
#AFE775 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#AFE775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE775
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE775#FFFFFF#000000##000000
##AFE7751.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D96B
Deuteranopia (green-blind)
#E8D57C
Tritanopia (blue-blind)
#B2DFCD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe775;
/* rgb */ color: rgb(175, 231, 117);
/* oklch */ color: oklch(86.5% 0.156 130.6);
Tailwind
colors: {
  custom: {
    50: '#c9ef9f',
    500: '#afe775',
    950: '#000000',
  },
}
SCSS
$custom: #afe775;
$custom-light: #c9ef9f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe775",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 117
  },
  "hsl": {
    "h": 89.474,
    "s": 70.37,
    "l": 68.235
  },
  "oklch": {
    "l": 0.86481,
    "c": 0.15577,
    "h": 130.6
  },
  "luminance": 0.6755
}

Semantic roles & 50–950 ramp

primary
#AFE775
secondary
#7F42BF
accent
#13D271
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE775

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

Preview Lab → · Contrast checker → · Palette generator →

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