#AFEB77#AFEB77

#AFEB77 is a very light, vivid yellow-green. Relative luminance 0.699; OKLCH L 87.4% C 0.159 H 131.5°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#AFEB77
RGBrgb(175, 235, 119)
HSLhsl(91, 74%, 69%)
HSVhsv(91, 49%, 92%)
CMYKcmyk(25.5%, 0%, 49.4%, 7.8%)
CIE-LABlab(86.93, -38.11, 49.89)
CIE-LCHlch(86.93, 62.78, 127.38°)
OKLaboklab(87.42% -0.1057 0.1194)
OKLCHoklch(87.42% 0.159 131.5)
XYZxyz(50.7166, 69.8612, 28.2617)
Luminance0.6986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB77 #B377EB
analogous
#E9EB77 #AFEB77 #77EB79
triadic
#AFEB77 #77AFEB #EB77AF
tetradic
#AFEB77 #77E9EB #B377EB #EB7977
square
#AFEB77 #77E9EB #B377EB #EB7977
split-complementary
#AFEB77 #7977EB #EB77E9
monochromatic
#71CA1E #90E342 #AFEB77 #CEF3AC #EEFBE2

Accessibility & contrast

On white

1.40
#AFEB77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#AFEB77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB77
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB77#FFFFFF#000000##000000
##AFEB771.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6D
Deuteranopia (green-blind)
#EBD87E
Tritanopia (blue-blind)
#B1E3D0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afeb77;
/* rgb */ color: rgb(175, 235, 119);
/* oklch */ color: oklch(87.4% 0.159 131.5);
Tailwind
colors: {
  custom: {
    50: '#c9f1a1',
    500: '#afeb77',
    950: '#000000',
  },
}
SCSS
$custom: #afeb77;
$custom-light: #c9f1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb77",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 119
  },
  "hsl": {
    "h": 91.034,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.87418,
    "c": 0.15944,
    "h": 131.5
  },
  "luminance": 0.69863
}

Semantic roles & 50–950 ramp

primary
#AFEB77
secondary
#8543C4
accent
#0FD676
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEB77

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

Preview Lab → · Contrast checker → · Palette generator →

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