#AFE381#AFE381

#AFE381 is a very light, vivid yellow-green. Relative luminance 0.656; OKLCH L 85.7% C 0.138 H 131.6°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#AFE381
RGBrgb(175, 227, 129)
HSLhsl(92, 64%, 70%)
HSVhsv(92, 43%, 89%)
CMYKcmyk(22.9%, 0%, 43.2%, 11%)
CIE-LABlab(84.81, -33.31, 42.46)
CIE-LCHlch(84.81, 53.96, 128.12°)
OKLaboklab(85.75% -0.0917 0.1034)
OKLCHoklch(85.75% 0.138 131.6)
XYZxyz(49.1099, 65.6360, 30.8462)
Luminance0.6564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE381 #B581E3
analogous
#E0E381 #AFE381 #81E384
triadic
#AFE381 #81AFE3 #E381AF
tetradic
#AFE381 #81E0E3 #B581E3 #E38481
square
#AFE381 #81E0E3 #B581E3 #E38481
split-complementary
#AFE381 #8481E3 #E381E0
monochromatic
#70BF2A #8FD84F #AFE381 #CFEEB3 #EFF9E5

Accessibility & contrast

On white

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

On black

14.13
#AFE381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE381
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE381#FFFFFF#000000##000000
##AFE3811.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD679
Deuteranopia (green-blind)
#E3D287
Tritanopia (blue-blind)
#B1DCCB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe381;
/* rgb */ color: rgb(175, 227, 129);
/* oklch */ color: oklch(85.7% 0.138 131.6);
Tailwind
colors: {
  custom: {
    50: '#c8eca7',
    500: '#afe381',
    950: '#000000',
  },
}
SCSS
$custom: #afe381;
$custom-light: #c8eca7;
$custom-dark: #000000;
JSON
{
  "hex": "#afe381",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 91.837,
    "s": 63.636,
    "l": 69.804
  },
  "oklch": {
    "l": 0.85748,
    "c": 0.13818,
    "h": 131.6
  },
  "luminance": 0.65637
}

Semantic roles & 50–950 ramp

primary
#AFE381
secondary
#874DBB
accent
#1ACB78
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE381

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

Preview Lab → · Contrast checker → · Palette generator →

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