#AFE460#AFE460

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

Color values

HEX#AFE460
RGBrgb(175, 228, 96)
HSLhsl(84, 71%, 64%)
HSVhsv(84, 58%, 89%)
CMYKcmyk(23.2%, 0%, 57.9%, 10.6%)
CIE-LABlab(84.71, -37.23, 57.74)
CIE-LCHlch(84.71, 68.70, 122.81°)
OKLaboklab(85.55% -0.105 0.1345)
OKLCHoklch(85.55% 0.171 128)
XYZxyz(47.5338, 65.4444, 21.1918)
Luminance0.6544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE460 #9560E4
analogous
#E4D760 #AFE460 #6DE460
triadic
#AFE460 #60AFE4 #E460AF
tetradic
#AFE460 #60E4D7 #9560E4 #E4606D
square
#AFE460 #60E4D7 #9560E4 #E4606D
split-complementary
#AFE460 #606DE4 #D760E4
monochromatic
#73AC1D #95DB2C #AFE460 #C9ED94 #E4F6C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE460#FFFFFF#000000##000000
##AFE4601.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)
#EED652
Deuteranopia (green-blind)
#E7D269
Tritanopia (blue-blind)
#B4DBC7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe460;
/* rgb */ color: rgb(175, 228, 96);
/* oklch */ color: oklch(85.5% 0.171 128.0);
Tailwind
colors: {
  custom: {
    50: '#caec91',
    500: '#afe460',
    950: '#000000',
  },
}
SCSS
$custom: #afe460;
$custom-light: #caec91;
$custom-dark: #000000;
JSON
{
  "hex": "#afe460",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 96
  },
  "hsl": {
    "h": 84.091,
    "s": 70.968,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85545,
    "c": 0.17062,
    "h": 128
  },
  "luminance": 0.65445
}

Semantic roles & 50–950 ramp

primary
#AFE460
secondary
#693AAE
accent
#13D360
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #AFE460

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

Preview Lab → · Contrast checker → · Palette generator →

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