#AFE461#AFE461

#AFE461 is a very light, vivid yellow-green. Relative luminance 0.655; OKLCH L 85.6% C 0.170 H 128.0°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#AFE461
RGBrgb(175, 228, 97)
HSLhsl(84, 71%, 64%)
HSVhsv(84, 57%, 89%)
CMYKcmyk(23.2%, 0%, 57.5%, 10.6%)
CIE-LABlab(84.72, -37.14, 57.31)
CIE-LCHlch(84.72, 68.29, 122.94°)
OKLaboklab(85.56% -0.1046 0.1337)
OKLCHoklch(85.56% 0.17 128)
XYZxyz(47.5801, 65.4630, 21.4358)
Luminance0.6546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE461 #9661E4
analogous
#E4D861 #AFE461 #6DE461
triadic
#AFE461 #61AFE4 #E461AF
tetradic
#AFE461 #61E4D8 #9661E4 #E4616D
square
#AFE461 #61E4D8 #9661E4 #E4616D
split-complementary
#AFE461 #616DE4 #D861E4
monochromatic
#73AD1E #95DB2D #AFE461 #C9ED95 #E4F6CA

Accessibility & contrast

On white

1.49
#AFE461 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#AFE461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE461
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE461#FFFFFF#000000##000000
##AFE4611.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED653
Deuteranopia (green-blind)
#E7D26A
Tritanopia (blue-blind)
#B4DBC8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe461;
/* rgb */ color: rgb(175, 228, 97);
/* oklch */ color: oklch(85.6% 0.170 128.0);
Tailwind
colors: {
  custom: {
    50: '#caec92',
    500: '#afe461',
    950: '#000000',
  },
}
SCSS
$custom: #afe461;
$custom-light: #caec92;
$custom-dark: #000000;
JSON
{
  "hex": "#afe461",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 97
  },
  "hsl": {
    "h": 84.275,
    "s": 70.811,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85556,
    "c": 0.16978,
    "h": 128
  },
  "luminance": 0.65464
}

Semantic roles & 50–950 ramp

primary
#AFE461
secondary
#6A3BAE
accent
#13D360
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFE461

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

Preview Lab → · Contrast checker → · Palette generator →

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