#388B1B#388B1B

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

Color values

HEX#388B1B
RGBrgb(56, 139, 27)
HSLhsl(104, 67%, 33%)
HSVhsv(104, 81%, 55%)
CMYKcmyk(59.7%, 0%, 80.6%, 45.5%)
CIE-LABlab(51.13, -45.26, 48.20)
CIE-LCHlch(51.13, 66.11, 133.20°)
OKLaboklab(56.38% -0.1246 0.1073)
OKLCHoklch(56.38% 0.164 139.3)
XYZxyz(11.0609, 19.3841, 4.1953)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388B1B #6E1B8B
analogous
#708B1B #388B1B #1B8B36
triadic
#388B1B #1B388B #8B1B38
tetradic
#388B1B #1B708B #6E1B8B #8B361B
square
#388B1B #1B708B #6E1B8B #8B361B
split-complementary
#388B1B #361B8B #8B1B70
monochromatic
#0F2507 #235811 #388B1B #4DBE25 #6CDB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##388B1B#FFFFFF#000000##000000
##388B1B1.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)
#857728
Tritanopia (blue-blind)
#2F8676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #388b1b;
/* rgb */ color: rgb(56, 139, 27);
/* oklch */ color: oklch(56.4% 0.164 139.3);
Tailwind
colors: {
  custom: {
    50: '#79ae61',
    500: '#388b1b',
    950: '#000000',
  },
}
SCSS
$custom: #388b1b;
$custom-light: #79ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#388b1b",
  "rgb": {
    "r": 56,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 104.464,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56381,
    "c": 0.16442,
    "h": 139.3
  },
  "luminance": 0.19385
}

Semantic roles & 50–950 ramp

primary
#388B1B
secondary
#9E45BC
accent
#3DEABE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #388B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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