#388B1A#388B1A

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

Color values

HEX#388B1A
RGBrgb(56, 139, 26)
HSLhsl(104, 68%, 32%)
HSVhsv(104, 81%, 55%)
CMYKcmyk(59.7%, 0%, 81.3%, 45.5%)
CIE-LABlab(51.13, -45.32, 48.51)
CIE-LCHlch(51.13, 66.39, 133.05°)
OKLaboklab(56.37% -0.1248 0.1078)
OKLCHoklch(56.37% 0.165 139.2)
XYZxyz(11.0495, 19.3796, 4.1354)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388B1A #6D1A8B
analogous
#708B1A #388B1A #1A8B35
triadic
#388B1A #1A388B #8B1A38
tetradic
#388B1A #1A708B #6D1A8B #8B351A
square
#388B1A #1A708B #6D1A8B #8B351A
split-complementary
#388B1A #351A8B #8B1A70
monochromatic
#0E2407 #235710 #388B1A #4DBF24 #6CDC43

Accessibility & contrast

On white

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

On black

4.88
#388B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388B1A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388B1A#FFFFFF#000000##000000
##388B1A1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #388b1a;
/* rgb */ color: rgb(56, 139, 26);
/* oklch */ color: oklch(56.4% 0.165 139.2);
Tailwind
colors: {
  custom: {
    50: '#79ae61',
    500: '#388b1a',
    950: '#000000',
  },
}
SCSS
$custom: #388b1a;
$custom-light: #79ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#388b1a",
  "rgb": {
    "r": 56,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 104.071,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56374,
    "c": 0.16492,
    "h": 139.2
  },
  "luminance": 0.19381
}

Semantic roles & 50–950 ramp

primary
#388B1A
secondary
#9D44BD
accent
#3CEBBD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #388B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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