#AFF381#AFF381

#AFF381 is a very light, vivid yellow-green. Relative luminance 0.748; OKLCH L 89.4% C 0.161 H 134.0°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#AFF381
RGBrgb(175, 243, 129)
HSLhsl(96, 83%, 73%)
HSVhsv(96, 47%, 95%)
CMYKcmyk(28%, 0%, 46.9%, 4.7%)
CIE-LABlab(89.30, -40.55, 48.06)
CIE-LCHlch(89.30, 62.88, 130.15°)
OKLaboklab(89.38% -0.1118 0.116)
OKLCHoklch(89.38% 0.161 134)
XYZxyz(53.6911, 74.7984, 32.3733)
Luminance0.7480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF381 #C581F3
analogous
#E8F381 #AFF381 #81F38C
triadic
#AFF381 #81AFF3 #F381AF
tetradic
#AFF381 #81E8F3 #C581F3 #F38C81
square
#AFF381 #81E8F3 #C581F3 #F38C81
split-complementary
#AFF381 #8C81F3 #F381E8
monochromatic
#69E416 #8CEE49 #AFF381 #D2F8B9 #EDFCE3

Accessibility & contrast

On white

1.32
#AFF381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.96
#AFF381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF381
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF381#FFFFFF#000000##000000
##AFF3811.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE478
Deuteranopia (green-blind)
#F1DE88
Tritanopia (blue-blind)
#AFEBD8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #aff381;
/* rgb */ color: rgb(175, 243, 129);
/* oklch */ color: oklch(89.4% 0.161 134.0);
Tailwind
colors: {
  custom: {
    50: '#c9f7a7',
    500: '#aff381',
    950: '#000000',
  },
}
SCSS
$custom: #aff381;
$custom-light: #c9f7a7;
$custom-dark: #000000;
JSON
{
  "hex": "#aff381",
  "rgb": {
    "r": 175,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 95.789,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.89375,
    "c": 0.16107,
    "h": 134
  },
  "luminance": 0.748
}

Semantic roles & 50–950 ramp

primary
#AFF381
secondary
#994ACF
accent
#06DF88
background
#FEFFFC
surface
#FAFFF6
border
#D3D7D0
text
#131710
muted
#838580

Preview Lab

Preview with #AFF381

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

Preview Lab → · Contrast checker → · Palette generator →

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