#AFE261#AFE261

#AFE261 is a very light, vivid yellow-green. Relative luminance 0.644; OKLCH L 85.1% C 0.167 H 127.7°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#AFE261
RGBrgb(175, 226, 97)
HSLhsl(84, 69%, 63%)
HSVhsv(84, 57%, 89%)
CMYKcmyk(22.6%, 0%, 57.1%, 11.4%)
CIE-LABlab(84.16, -36.23, 56.67)
CIE-LCHlch(84.16, 67.26, 122.59°)
OKLaboklab(85.1% -0.1021 0.1323)
OKLCHoklch(85.1% 0.167 127.7)
XYZxyz(47.0331, 64.3689, 21.2535)
Luminance0.6437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE261 #9461E2
analogous
#E2D461 #AFE261 #6EE261
triadic
#AFE261 #61AFE2 #E261AF
tetradic
#AFE261 #61E2D4 #9461E2 #E2616E
square
#AFE261 #61E2D4 #9461E2 #E2616E
split-complementary
#AFE261 #616EE2 #D461E2
monochromatic
#73A91F #95D92D #AFE261 #C9EB95 #E3F5C8

Accessibility & contrast

On white

1.51
#AFE261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#AFE261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE261
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE261#FFFFFF#000000##000000
##AFE2611.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD453
Deuteranopia (green-blind)
#E5D16A
Tritanopia (blue-blind)
#B4D9C6
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe261;
/* rgb */ color: rgb(175, 226, 97);
/* oklch */ color: oklch(85.1% 0.167 127.7);
Tailwind
colors: {
  custom: {
    50: '#caeb92',
    500: '#afe261',
    950: '#000000',
  },
}
SCSS
$custom: #afe261;
$custom-light: #caeb92;
$custom-dark: #000000;
JSON
{
  "hex": "#afe261",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 97
  },
  "hsl": {
    "h": 83.721,
    "s": 68.984,
    "l": 63.333
  },
  "oklch": {
    "l": 0.851,
    "c": 0.16715,
    "h": 127.7
  },
  "luminance": 0.6437
}

Semantic roles & 50–950 ramp

primary
#AFE261
secondary
#683CAB
accent
#15D15F
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFE261

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

Preview Lab → · Contrast checker → · Palette generator →

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