#AFE761#AFE761

#AFE761 is a very light, vivid yellow-green. Relative luminance 0.671; OKLCH L 86.2% C 0.174 H 128.6°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#AFE761
RGBrgb(175, 231, 97)
HSLhsl(85, 74%, 64%)
HSVhsv(85, 58%, 91%)
CMYKcmyk(24.2%, 0%, 58%, 9.4%)
CIE-LABlab(85.57, -38.49, 58.27)
CIE-LCHlch(85.57, 69.83, 123.44°)
OKLaboklab(86.24% -0.1084 0.1358)
OKLCHoklch(86.24% 0.174 128.6)
XYZxyz(48.4125, 67.1279, 21.7133)
Luminance0.6713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE761 #9961E7
analogous
#E7DC61 #AFE761 #6CE761
triadic
#AFE761 #61AFE7 #E761AF
tetradic
#AFE761 #61E7DC #9961E7 #E7616C
square
#AFE761 #61E7DC #9961E7 #E7616C
split-complementary
#AFE761 #616CE7 #DC61E7
monochromatic
#73B21B #94DF2C #AFE761 #CAEF96 #E5F7CB

Accessibility & contrast

On white

1.46
#AFE761 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#AFE761 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE761
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE761#FFFFFF#000000##000000
##AFE7611.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D853
Deuteranopia (green-blind)
#E9D56A
Tritanopia (blue-blind)
#B4DECA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe761;
/* rgb */ color: rgb(175, 231, 97);
/* oklch */ color: oklch(86.2% 0.174 128.6);
Tailwind
colors: {
  custom: {
    50: '#caef92',
    500: '#afe761',
    950: '#000000',
  },
}
SCSS
$custom: #afe761;
$custom-light: #caef92;
$custom-dark: #000000;
JSON
{
  "hex": "#afe761",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 97
  },
  "hsl": {
    "h": 85.075,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86241,
    "c": 0.1737,
    "h": 128.6
  },
  "luminance": 0.67129
}

Semantic roles & 50–950 ramp

primary
#AFE761
secondary
#6C39B3
accent
#10D662
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE761

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

Preview Lab → · Contrast checker → · Palette generator →

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