#38D940#38D940

#38D940 is a light, highly saturated green. Relative luminance 0.508; OKLCH L 77.5% C 0.232 H 143.5°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#38D940
RGBrgb(56, 217, 64)
HSLhsl(123, 68%, 54%)
HSVhsv(123, 74%, 85%)
CMYKcmyk(74.2%, 0%, 70.5%, 14.9%)
CIE-LABlab(76.58, -68.88, 60.59)
CIE-LCHlch(76.58, 91.73, 138.66°)
OKLaboklab(77.55% -0.1866 0.1381)
OKLCHoklch(77.55% 0.232 143.5)
XYZxyz(27.3674, 50.8335, 13.2190)
Luminance0.5084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38D940 #D938D1
analogous
#80D938 #38D940 #38D990
triadic
#38D940 #4038D9 #D94038
tetradic
#38D940 #3880D9 #D938D1 #D99038
square
#38D940 #3880D9 #D938D1 #D99038
split-complementary
#38D940 #9038D9 #D93880
monochromatic
#187E1D #22B229 #38D940 #6BE371 #9FEDA3

Accessibility & contrast

On white

1.88
#38D940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#38D940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38D940
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38D940#FFFFFF#000000##000000
##38D9401.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC527
Deuteranopia (green-blind)
#CBB84F
Tritanopia (blue-blind)
#00D3BB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #38d940;
/* rgb */ color: rgb(56, 217, 64);
/* oklch */ color: oklch(77.5% 0.232 143.5);
Tailwind
colors: {
  custom: {
    50: '#87e67d',
    500: '#38d940',
    950: '#000000',
  },
}
SCSS
$custom: #38d940;
$custom-light: #87e67d;
$custom-dark: #000000;
JSON
{
  "hex": "#38d940",
  "rgb": {
    "r": 56,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 122.981,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77545,
    "c": 0.23214,
    "h": 143.5
  },
  "luminance": 0.50837
}

Semantic roles & 50–950 ramp

primary
#38D940
secondary
#863081
accent
#3DE2EB
background
#FCFEFB
surface
#F4FDF2
border
#CED5CC
text
#0D160A
muted
#7F847D

Preview Lab

Preview with #38D940

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

Preview Lab → · Contrast checker → · Palette generator →

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