#388A15#388A15

#388A15 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.166 H 138.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#388A15
RGBrgb(56, 138, 21)
HSLhsl(102, 74%, 31%)
HSVhsv(102, 85%, 54%)
CMYKcmyk(59.4%, 0%, 84.8%, 45.9%)
CIE-LABlab(50.77, -45.22, 49.66)
CIE-LCHlch(50.77, 67.16, 132.32°)
OKLaboklab(56.07% -0.1248 0.1094)
OKLCHoklch(56.07% 0.166 138.8)
XYZxyz(10.8543, 19.0709, 3.8184)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388A15 #67158A
analogous
#728A15 #388A15 #158A2C
triadic
#388A15 #15388A #8A1538
tetradic
#388A15 #15728A #67158A #8A2C15
square
#388A15 #15728A #67158A #8A2C15
split-complementary
#388A15 #2C158A #8A1572
monochromatic
#0D2005 #22550D #388A15 #4EBF1D #6BE139

Accessibility & contrast

On white

4.36
#388A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#388A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388A15
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388A15#FFFFFF#000000##000000
##388A151.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#2F8575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #388a15;
/* rgb */ color: rgb(56, 138, 21);
/* oklch */ color: oklch(56.1% 0.166 138.8);
Tailwind
colors: {
  custom: {
    50: '#79ad5f',
    500: '#388a15',
    950: '#000000',
  },
}
SCSS
$custom: #388a15;
$custom-light: #79ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#388a15",
  "rgb": {
    "r": 56,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 102.051,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56071,
    "c": 0.16601,
    "h": 138.8
  },
  "luminance": 0.19072
}

Semantic roles & 50–950 ramp

primary
#388A15
secondary
#973DBE
accent
#38F0B9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388A15

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

Preview Lab → · Contrast checker → · Palette generator →

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