#38D951#38D951

#38D951 is a light, highly saturated green. Relative luminance 0.511; OKLCH L 77.7% C 0.221 H 145.2°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#38D951
RGBrgb(56, 217, 81)
HSLhsl(129, 68%, 54%)
HSVhsv(129, 74%, 85%)
CMYKcmyk(74.2%, 0%, 62.7%, 14.9%)
CIE-LABlab(76.71, -67.22, 53.95)
CIE-LCHlch(76.71, 86.19, 141.25°)
OKLaboklab(77.7% -0.1814 0.1259)
OKLCHoklch(77.7% 0.221 145.2)
XYZxyz(27.9270, 51.0573, 16.1662)
Luminance0.5106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38D951 #D938C0
analogous
#6FD938 #38D951 #38D9A1
triadic
#38D951 #5138D9 #D95138
tetradic
#38D951 #386FD9 #D938C0 #D9A138
square
#38D951 #386FD9 #D938C0 #D9A138
split-complementary
#38D951 #A138D9 #D9386F
monochromatic
#187E28 #22B238 #38D951 #6BE37E #9FEDAB

Accessibility & contrast

On white

1.87
#38D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#38D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38D951
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38D951#FFFFFF#000000##000000
##38D9511.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC541
Deuteranopia (green-blind)
#CAB85D
Tritanopia (blue-blind)
#00D4BC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #38d951;
/* rgb */ color: rgb(56, 217, 81);
/* oklch */ color: oklch(77.7% 0.221 145.2);
Tailwind
colors: {
  custom: {
    50: '#87e687',
    500: '#38d951',
    950: '#000000',
  },
}
SCSS
$custom: #38d951;
$custom-light: #87e687;
$custom-dark: #000000;
JSON
{
  "hex": "#38d951",
  "rgb": {
    "r": 56,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 129.317,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77701,
    "c": 0.22082,
    "h": 145.2
  },
  "luminance": 0.51061
}

Semantic roles & 50–950 ramp

primary
#38D951
secondary
#863078
accent
#3DD0EB
background
#FCFEFC
surface
#F4FDF3
border
#CED5CD
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #38D951

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

Preview Lab → · Contrast checker → · Palette generator →

#38D951 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva