#AFE38D#AFE38D

#AFE38D is a very light, vivid yellow-green. Relative luminance 0.660; OKLCH L 85.9% C 0.126 H 133.8°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#AFE38D
RGBrgb(175, 227, 141)
HSLhsl(96, 61%, 72%)
HSVhsv(96, 38%, 89%)
CMYKcmyk(22.9%, 0%, 37.9%, 11%)
CIE-LABlab(84.98, -31.77, 36.72)
CIE-LCHlch(84.98, 48.55, 130.86°)
OKLaboklab(85.94% -0.0869 0.0907)
OKLCHoklch(85.94% 0.126 133.8)
XYZxyz(49.9549, 65.9740, 35.2965)
Luminance0.6597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE38D #C18DE3
analogous
#DAE38D #AFE38D #8DE396
triadic
#AFE38D #8DAFE3 #E38DAF
tetradic
#AFE38D #8DDAE3 #C18DE3 #E3968D
square
#AFE38D #8DDAE3 #C18DE3 #E3968D
split-complementary
#AFE38D #968DE3 #E38DDA
monochromatic
#6BC530 #8DD75C #AFE38D #D1EFBE #EEF9E6

Accessibility & contrast

On white

1.48
#AFE38D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.19
#AFE38D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE38D
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE38D#FFFFFF#000000##000000
##AFE38D1.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD787
Deuteranopia (green-blind)
#E2D392
Tritanopia (blue-blind)
#B0DDCE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe38d;
/* rgb */ color: rgb(175, 227, 141);
/* oklch */ color: oklch(85.9% 0.126 133.8);
Tailwind
colors: {
  custom: {
    50: '#c8ecaf',
    500: '#afe38d',
    950: '#000000',
  },
}
SCSS
$custom: #afe38d;
$custom-light: #c8ecaf;
$custom-dark: #000000;
JSON
{
  "hex": "#afe38d",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 141
  },
  "hsl": {
    "h": 96.279,
    "s": 60.563,
    "l": 72.157
  },
  "oklch": {
    "l": 0.85943,
    "c": 0.12559,
    "h": 133.8
  },
  "luminance": 0.65975
}

Semantic roles & 50–950 ramp

primary
#AFE38D
secondary
#9459BC
accent
#1DC885
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE38D

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

Preview Lab → · Contrast checker → · Palette generator →

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