#AFF262#AFF262

#AFF262 is a very light, vivid yellow-green. Relative luminance 0.735; OKLCH L 88.8% C 0.187 H 130.4°. Best body text is #000000 at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#AFF262
RGBrgb(175, 242, 98)
HSLhsl(88, 85%, 67%)
HSVhsv(88, 60%, 95%)
CMYKcmyk(27.7%, 0%, 59.5%, 5.1%)
CIE-LABlab(88.69, -43.25, 61.35)
CIE-LCHlch(88.69, 75.06, 125.18°)
OKLaboklab(88.77% -0.1214 0.1424)
OKLCHoklch(88.77% 0.187 130.4)
XYZxyz(51.6355, 73.4986, 23.0191)
Luminance0.7350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF262 #A562F2
analogous
#F2ED62 #AFF262 #67F262
triadic
#AFF262 #62AFF2 #F262AF
tetradic
#AFF262 #62F2ED #A562F2 #F26267
square
#AFF262 #62F2ED #A562F2 #F26267
split-complementary
#AFF262 #6267F2 #ED62F2
monochromatic
#73C911 #92ED29 #AFF262 #CCF79B #E9FBD3

Accessibility & contrast

On white

1.34
#AFF262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.70
#AFF262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF262
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF262#FFFFFF#000000##000000
##AFF2621.001.3415.7015.70
#FFFFFF1.341.0021.0021.00
#00000015.7021.001.001.00
##00000015.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE252
Deuteranopia (green-blind)
#F3DD6C
Tritanopia (blue-blind)
#B3E9D3
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #aff262;
/* rgb */ color: rgb(175, 242, 98);
/* oklch */ color: oklch(88.8% 0.187 130.4);
Tailwind
colors: {
  custom: {
    50: '#caf694',
    500: '#aff262',
    950: '#000000',
  },
}
SCSS
$custom: #aff262;
$custom-light: #caf694;
$custom-dark: #000000;
JSON
{
  "hex": "#aff262",
  "rgb": {
    "r": 175,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 87.917,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.8877,
    "c": 0.18717,
    "h": 130.4
  },
  "luminance": 0.735
}

Semantic roles & 50–950 ramp

primary
#AFF262
secondary
#7733C6
accent
#04E16B
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFF262

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

Preview Lab → · Contrast checker → · Palette generator →

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