#388D18#388D18

#388D18 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.168 H 139.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#388D18
RGBrgb(56, 141, 24)
HSLhsl(104, 71%, 32%)
HSVhsv(104, 83%, 55%)
CMYKcmyk(60.3%, 0%, 83%, 44.7%)
CIE-LABlab(51.79, -46.18, 49.73)
CIE-LCHlch(51.79, 67.87, 132.88°)
OKLaboklab(56.92% -0.1273 0.11)
OKLCHoklch(56.92% 0.168 139.2)
XYZxyz(11.3202, 19.9554, 4.1192)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388D18 #6D188D
analogous
#728D18 #388D18 #188D33
triadic
#388D18 #18388D #8D1838
tetradic
#388D18 #18728D #6D188D #8D3318
square
#388D18 #18728D #6D188D #8D3318
split-complementary
#388D18 #33188D #8D1872
monochromatic
#0E2406 #23590F #388D18 #4DC121 #6CDF41

Accessibility & contrast

On white

4.21
#388D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#388D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388D18
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388D18#FFFFFF#000000##000000
##388D181.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#2E8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388d18;
/* rgb */ color: rgb(56, 141, 24);
/* oklch */ color: oklch(56.9% 0.168 139.2);
Tailwind
colors: {
  custom: {
    50: '#7aaf60',
    500: '#388d18',
    950: '#000000',
  },
}
SCSS
$custom: #388d18;
$custom-light: #7aaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#388d18",
  "rgb": {
    "r": 56,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 103.59,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56916,
    "c": 0.16823,
    "h": 139.2
  },
  "luminance": 0.19956
}

Semantic roles & 50–950 ramp

primary
#388D18
secondary
#9D42BF
accent
#3AEEBD
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #388D18

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

Preview Lab → · Contrast checker → · Palette generator →

#388D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva