#388A18#388A18

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

Color values

HEX#388A18
RGBrgb(56, 138, 24)
HSLhsl(103, 70%, 32%)
HSVhsv(103, 83%, 54%)
CMYKcmyk(59.4%, 0%, 82.6%, 45.9%)
CIE-LABlab(50.78, -45.06, 48.80)
CIE-LCHlch(50.78, 66.42, 132.72°)
OKLaboklab(56.09% -0.1242 0.1081)
OKLCHoklch(56.09% 0.165 139)
XYZxyz(10.8838, 19.0827, 3.9738)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388A18 #6A188A
analogous
#718A18 #388A18 #188A31
triadic
#388A18 #18388A #8A1838
tetradic
#388A18 #18718A #6A188A #8A3118
square
#388A18 #18718A #6A188A #8A3118
split-complementary
#388A18 #31188A #8A1871
monochromatic
#0E2206 #23560F #388A18 #4DBE21 #6BDE3F

Accessibility & contrast

On white

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

On black

4.82
#388A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388A18
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388A18#FFFFFF#000000##000000
##388A181.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #388a18;
/* rgb */ color: rgb(56, 138, 24);
/* oklch */ color: oklch(56.1% 0.165 139.0);
Tailwind
colors: {
  custom: {
    50: '#79ad60',
    500: '#388a18',
    950: '#000000',
  },
}
SCSS
$custom: #388a18;
$custom-light: #79ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#388a18",
  "rgb": {
    "r": 56,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 103.158,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56087,
    "c": 0.16468,
    "h": 139
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#388A18
secondary
#9A40BD
accent
#3BEDBB
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388A18

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

Preview Lab → · Contrast checker → · Palette generator →

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