#388C1F#388C1F

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

Color values

HEX#388C1F
RGBrgb(56, 140, 31)
HSLhsl(106, 64%, 34%)
HSVhsv(106, 78%, 55%)
CMYKcmyk(60%, 0%, 77.9%, 45.1%)
CIE-LABlab(51.49, -45.37, 47.19)
CIE-LCHlch(51.49, 65.46, 133.87°)
OKLaboklab(56.68% -0.1247 0.1058)
OKLCHoklch(56.68% 0.164 139.7)
XYZxyz(11.2558, 19.6948, 4.5044)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388C1F #731F8C
analogous
#6E8C1F #388C1F #1F8C3C
triadic
#388C1F #1F388C #8C1F38
tetradic
#388C1F #1F6E8C #731F8C #8C3C1F
square
#388C1F #1F6E8C #731F8C #8C3C1F
split-complementary
#388C1F #3C1F8C #8C1F6E
monochromatic
#102809 #245A14 #388C1F #4CBE2A #6DD84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##388C1F#FFFFFF#000000##000000
##388C1F1.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)
#907F05
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#2E8777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388c1f;
/* rgb */ color: rgb(56, 140, 31);
/* oklch */ color: oklch(56.7% 0.164 139.7);
Tailwind
colors: {
  custom: {
    50: '#79ae63',
    500: '#388c1f',
    950: '#000000',
  },
}
SCSS
$custom: #388c1f;
$custom-light: #79ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#388c1f",
  "rgb": {
    "r": 56,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 106.239,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56683,
    "c": 0.1635,
    "h": 139.7
  },
  "luminance": 0.19696
}

Semantic roles & 50–950 ramp

primary
#388C1F
secondary
#A14CBB
accent
#41E7C1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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