#AFE262#AFE262

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

Color values

HEX#AFE262
RGBrgb(175, 226, 98)
HSLhsl(84, 69%, 64%)
HSVhsv(84, 57%, 89%)
CMYKcmyk(22.6%, 0%, 56.6%, 11.4%)
CIE-LABlab(84.17, -36.14, 56.24)
CIE-LCHlch(84.17, 66.85, 122.73°)
OKLaboklab(85.11% -0.1018 0.1315)
OKLCHoklch(85.11% 0.166 127.7)
XYZxyz(47.0800, 64.3877, 21.5006)
Luminance0.6439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE262 #9562E2
analogous
#E2D562 #AFE262 #6FE262
triadic
#AFE262 #62AFE2 #E262AF
tetradic
#AFE262 #62E2D5 #9562E2 #E2626F
square
#AFE262 #62E2D5 #9562E2 #E2626F
split-complementary
#AFE262 #626FE2 #D562E2
monochromatic
#73AA1F #95D82E #AFE262 #C9EC96 #E4F5C9

Accessibility & contrast

On white

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

On black

13.88
#AFE262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE262
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE262#FFFFFF#000000##000000
##AFE2621.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe262;
/* rgb */ color: rgb(175, 226, 98);
/* oklch */ color: oklch(85.1% 0.166 127.7);
Tailwind
colors: {
  custom: {
    50: '#caeb93',
    500: '#afe262',
    950: '#000000',
  },
}
SCSS
$custom: #afe262;
$custom-light: #caeb93;
$custom-dark: #000000;
JSON
{
  "hex": "#afe262",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 98
  },
  "hsl": {
    "h": 83.906,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85111,
    "c": 0.16629,
    "h": 127.7
  },
  "luminance": 0.64389
}

Semantic roles & 50–950 ramp

primary
#AFE262
secondary
#693CAC
accent
#15D160
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFE262

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

Preview Lab → · Contrast checker → · Palette generator →

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