#AFE462#AFE462

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

Color values

HEX#AFE462
RGBrgb(175, 228, 98)
HSLhsl(84, 71%, 64%)
HSVhsv(84, 57%, 89%)
CMYKcmyk(23.2%, 0%, 57%, 10.6%)
CIE-LABlab(84.73, -37.05, 56.88)
CIE-LCHlch(84.73, 67.88, 123.08°)
OKLaboklab(85.57% -0.1043 0.1329)
OKLCHoklch(85.57% 0.169 128.1)
XYZxyz(47.6270, 65.4817, 21.6829)
Luminance0.6548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE462 #9762E4
analogous
#E4D862 #AFE462 #6EE462
triadic
#AFE462 #62AFE4 #E462AF
tetradic
#AFE462 #62E4D8 #9762E4 #E4626E
square
#AFE462 #62E4D8 #9762E4 #E4626E
split-complementary
#AFE462 #626EE4 #D862E4
monochromatic
#73AE1E #94DB2E #AFE462 #CAED96 #E4F6CA

Accessibility & contrast

On white

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

On black

14.10
#AFE462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE462
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE462#FFFFFF#000000##000000
##AFE4621.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe462;
/* rgb */ color: rgb(175, 228, 98);
/* oklch */ color: oklch(85.6% 0.169 128.1);
Tailwind
colors: {
  custom: {
    50: '#caec93',
    500: '#afe462',
    950: '#000000',
  },
}
SCSS
$custom: #afe462;
$custom-light: #caec93;
$custom-dark: #000000;
JSON
{
  "hex": "#afe462",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 98
  },
  "hsl": {
    "h": 84.462,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85567,
    "c": 0.16893,
    "h": 128.1
  },
  "luminance": 0.65483
}

Semantic roles & 50–950 ramp

primary
#AFE462
secondary
#6A3BAF
accent
#13D361
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFE462

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

Preview Lab → · Contrast checker → · Palette generator →

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