#388C1D#388C1D

#388C1D is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.165 H 139.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#388C1D
RGBrgb(56, 140, 29)
HSLhsl(105, 66%, 33%)
HSVhsv(105, 79%, 55%)
CMYKcmyk(60%, 0%, 79.3%, 45.1%)
CIE-LABlab(51.48, -45.51, 47.87)
CIE-LCHlch(51.48, 66.05, 133.55°)
OKLaboklab(56.67% -0.1252 0.1069)
OKLCHoklch(56.67% 0.165 139.5)
XYZxyz(11.2303, 19.6846, 4.3699)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388C1D #711D8C
analogous
#6F8C1D #388C1D #1D8C39
triadic
#388C1D #1D388C #8C1D38
tetradic
#388C1D #1D6F8C #711D8C #8C391D
square
#388C1D #1D6F8C #711D8C #8C391D
split-complementary
#388C1D #391D8C #8C1D6F
monochromatic
#0F2708 #245912 #388C1D #4CBF28 #6DD94A

Accessibility & contrast

On white

4.25
#388C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#388C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388C1D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388C1D#FFFFFF#000000##000000
##388C1D1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F01
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#2E8777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388c1d;
/* rgb */ color: rgb(56, 140, 29);
/* oklch */ color: oklch(56.7% 0.165 139.5);
Tailwind
colors: {
  custom: {
    50: '#79ae62',
    500: '#388c1d',
    950: '#000000',
  },
}
SCSS
$custom: #388c1d;
$custom-light: #79ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#388c1d",
  "rgb": {
    "r": 56,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 105.405,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56669,
    "c": 0.16459,
    "h": 139.5
  },
  "luminance": 0.19686
}

Semantic roles & 50–950 ramp

primary
#388C1D
secondary
#A049BC
accent
#3FE9BF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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