#AFEF7C#AFEF7C

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

Color values

HEX#AFEF7C
RGBrgb(175, 239, 124)
HSLhsl(93, 78%, 71%)
HSVhsv(93, 48%, 94%)
CMYKcmyk(26.8%, 0%, 48.1%, 6.3%)
CIE-LABlab(88.11, -39.35, 48.97)
CIE-LCHlch(88.11, 62.82, 128.78°)
OKLaboklab(88.4% -0.1088 0.1177)
OKLCHoklch(88.4% 0.16 132.7)
XYZxyz(52.1829, 72.3007, 30.2709)
Luminance0.7230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF7C #BC7CEF
analogous
#E9EF7C #AFEF7C #7CEF82
triadic
#AFEF7C #7CAFEF #EF7CAF
tetradic
#AFEF7C #7CE9EF #BC7CEF #EF827C
square
#AFEF7C #7CE9EF #BC7CEF #EF827C
split-complementary
#AFEF7C #827CEF #EF7CE9
monochromatic
#6ED61A #8EE845 #AFEF7C #D0F6B3 #EEFCE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFEF7C#FFFFFF#000000##000000
##AFEF7C1.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)
#F7E072
Deuteranopia (green-blind)
#EEDB83
Tritanopia (blue-blind)
#B0E7D4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #afef7c;
/* rgb */ color: rgb(175, 239, 124);
/* oklch */ color: oklch(88.4% 0.160 132.7);
Tailwind
colors: {
  custom: {
    50: '#c9f4a4',
    500: '#afef7c',
    950: '#000000',
  },
}
SCSS
$custom: #afef7c;
$custom-light: #c9f4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afef7c",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 124
  },
  "hsl": {
    "h": 93.391,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.88396,
    "c": 0.16026,
    "h": 132.7
  },
  "luminance": 0.72302
}

Semantic roles & 50–950 ramp

primary
#AFEF7C
secondary
#8F46C9
accent
#0BDA7E
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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