#AFEF7B#AFEF7B

#AFEF7B is a very light, vivid yellow-green. Relative luminance 0.723; OKLCH L 88.4% C 0.161 H 132.6°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#AFEF7B
RGBrgb(175, 239, 123)
HSLhsl(93, 78%, 71%)
HSVhsv(93, 49%, 94%)
CMYKcmyk(26.8%, 0%, 48.5%, 6.3%)
CIE-LABlab(88.10, -39.46, 49.43)
CIE-LCHlch(88.10, 63.25, 128.60°)
OKLaboklab(88.38% -0.1091 0.1187)
OKLCHoklch(88.38% 0.161 132.6)
XYZxyz(52.1200, 72.2755, 29.9396)
Luminance0.7228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF7B #BB7BEF
analogous
#E9EF7B #AFEF7B #7BEF81
triadic
#AFEF7B #7BAFEF #EF7BAF
tetradic
#AFEF7B #7BE9EF #BB7BEF #EF817B
square
#AFEF7B #7BE9EF #BB7BEF #EF817B
split-complementary
#AFEF7B #817BEF #EF7BE9
monochromatic
#6ED61A #8EE844 #AFEF7B #D0F6B2 #EEFCE4

Accessibility & contrast

On white

1.36
#AFEF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.46
#AFEF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF7B
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF7B#FFFFFF#000000##000000
##AFEF7B1.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E071
Deuteranopia (green-blind)
#EEDB82
Tritanopia (blue-blind)
#B0E7D4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #afef7b;
/* rgb */ color: rgb(175, 239, 123);
/* oklch */ color: oklch(88.4% 0.161 132.6);
Tailwind
colors: {
  custom: {
    50: '#c9f4a3',
    500: '#afef7b',
    950: '#000000',
  },
}
SCSS
$custom: #afef7b;
$custom-light: #c9f4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#afef7b",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 123
  },
  "hsl": {
    "h": 93.103,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.88382,
    "c": 0.16121,
    "h": 132.6
  },
  "luminance": 0.72277
}

Semantic roles & 50–950 ramp

primary
#AFEF7B
secondary
#8E45C9
accent
#0BDB7D
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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