#AFE773#AFE773

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

Color values

HEX#AFE773
RGBrgb(175, 231, 115)
HSLhsl(89, 71%, 68%)
HSVhsv(89, 50%, 91%)
CMYKcmyk(24.2%, 0%, 50.2%, 9.4%)
CIE-LABlab(85.76, -36.74, 50.34)
CIE-LCHlch(85.76, 62.33, 126.12°)
OKLaboklab(86.46% -0.1021 0.1201)
OKLCHoklch(86.46% 0.158 130.4)
XYZxyz(49.3491, 67.5025, 26.6456)
Luminance0.6750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE773 #AB73E7
analogous
#E7E573 #AFE773 #75E773
triadic
#AFE773 #73AFE7 #E773AF
tetradic
#AFE773 #73E7E5 #AB73E7 #E77375
square
#AFE773 #73E7E5 #AB73E7 #E77375
split-complementary
#AFE773 #7375E7 #E573E7
monochromatic
#73BF21 #91DE3F #AFE773 #CDF0A7 #EBF9DB

Accessibility & contrast

On white

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

On black

14.50
#AFE773 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE773
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE773#FFFFFF#000000##000000
##AFE7731.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D969
Deuteranopia (green-blind)
#E8D57A
Tritanopia (blue-blind)
#B2DFCC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe773;
/* rgb */ color: rgb(175, 231, 115);
/* oklch */ color: oklch(86.5% 0.158 130.4);
Tailwind
colors: {
  custom: {
    50: '#c9ef9e',
    500: '#afe773',
    950: '#000000',
  },
}
SCSS
$custom: #afe773;
$custom-light: #c9ef9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe773",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 115
  },
  "hsl": {
    "h": 88.966,
    "s": 70.732,
    "l": 67.843
  },
  "oklch": {
    "l": 0.86455,
    "c": 0.15768,
    "h": 130.4
  },
  "luminance": 0.67504
}

Semantic roles & 50–950 ramp

primary
#AFE773
secondary
#7D40BE
accent
#13D36F
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE773

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

Preview Lab → · Contrast checker → · Palette generator →

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