#AFF162#AFF162

#AFF162 is a very light, vivid yellow-green. Relative luminance 0.729; OKLCH L 88.5% C 0.186 H 130.3°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#AFF162
RGBrgb(175, 241, 98)
HSLhsl(88, 84%, 66%)
HSVhsv(88, 59%, 95%)
CMYKcmyk(27.4%, 0%, 59.3%, 5.5%)
CIE-LABlab(88.40, -42.81, 61.03)
CIE-LCHlch(88.40, 74.55, 125.05°)
OKLaboklab(88.54% -0.1202 0.1418)
OKLCHoklch(88.54% 0.186 130.3)
XYZxyz(51.3386, 72.9050, 22.9201)
Luminance0.7291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF162 #A462F1
analogous
#F1EB62 #AFF162 #68F162
triadic
#AFF162 #62AFF1 #F162AF
tetradic
#AFF162 #62F1EB #A462F1 #F16268
square
#AFF162 #62F1EB #A462F1 #F16268
split-complementary
#AFF162 #6268F1 #EB62F1
monochromatic
#73C712 #92EC2A #AFF162 #CCF69A #E8FBD2

Accessibility & contrast

On white

1.35
#AFF162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.58
#AFF162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF162
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF162#FFFFFF#000000##000000
##AFF1621.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE152
Deuteranopia (green-blind)
#F2DC6C
Tritanopia (blue-blind)
#B3E8D2
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #aff162;
/* rgb */ color: rgb(175, 241, 98);
/* oklch */ color: oklch(88.5% 0.186 130.3);
Tailwind
colors: {
  custom: {
    50: '#caf694',
    500: '#aff162',
    950: '#000000',
  },
}
SCSS
$custom: #aff162;
$custom-light: #caf694;
$custom-dark: #000000;
JSON
{
  "hex": "#aff162",
  "rgb": {
    "r": 175,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 87.692,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.88541,
    "c": 0.18588,
    "h": 130.3
  },
  "luminance": 0.72906
}

Semantic roles & 50–950 ramp

primary
#AFF162
secondary
#7633C4
accent
#05E06A
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFF162

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

Preview Lab → · Contrast checker → · Palette generator →

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