#388B18#388B18

#388B18 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.166 H 139.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#388B18
RGBrgb(56, 139, 24)
HSLhsl(103, 71%, 32%)
HSVhsv(103, 83%, 55%)
CMYKcmyk(59.7%, 0%, 82.7%, 45.5%)
CIE-LABlab(51.12, -45.44, 49.12)
CIE-LCHlch(51.12, 66.91, 132.77°)
OKLaboklab(56.36% -0.1253 0.1087)
OKLCHoklch(56.36% 0.166 139)
XYZxyz(11.0279, 19.3710, 4.0218)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388B18 #6B188B
analogous
#728B18 #388B18 #188B31
triadic
#388B18 #18388B #8B1838
tetradic
#388B18 #18728B #6B188B #8B3118
square
#388B18 #18728B #6B188B #8B3118
split-complementary
#388B18 #31188B #8B1872
monochromatic
#0E2306 #23570F #388B18 #4DBF21 #6CDE3F

Accessibility & contrast

On white

4.31
#388B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#388B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388B18
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388B18#FFFFFF#000000##000000
##388B181.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#2F8676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #388b18;
/* rgb */ color: rgb(56, 139, 24);
/* oklch */ color: oklch(56.4% 0.166 139.0);
Tailwind
colors: {
  custom: {
    50: '#79ae60',
    500: '#388b18',
    950: '#000000',
  },
}
SCSS
$custom: #388b18;
$custom-light: #79ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#388b18",
  "rgb": {
    "r": 56,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 103.304,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56363,
    "c": 0.16587,
    "h": 139
  },
  "luminance": 0.19372
}

Semantic roles & 50–950 ramp

primary
#388B18
secondary
#9B40BE
accent
#3AEDBC
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388B18

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

Preview Lab → · Contrast checker → · Palette generator →

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