#388B1F#388B1F

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

Color values

HEX#388B1F
RGBrgb(56, 139, 31)
HSLhsl(106, 64%, 33%)
HSVhsv(106, 78%, 55%)
CMYKcmyk(59.7%, 0%, 77.7%, 45.5%)
CIE-LABlab(51.16, -44.99, 46.87)
CIE-LCHlch(51.16, 64.97, 133.83°)
OKLaboklab(56.41% -0.1237 0.1051)
OKLCHoklch(56.41% 0.162 139.7)
XYZxyz(11.1103, 19.4039, 4.4559)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388B1F #721F8B
analogous
#6E8B1F #388B1F #1F8B3C
triadic
#388B1F #1F388B #8B1F38
tetradic
#388B1F #1F6E8B #721F8B #8B3C1F
square
#388B1F #1F6E8B #721F8B #8B3C1F
split-complementary
#388B1F #3C1F8B #8B1F6E
monochromatic
#102709 #245914 #388B1F #4CBD2A #6DD74D

Accessibility & contrast

On white

4.30
#388B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##388B1F#FFFFFF#000000##000000
##388B1F1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#2E8677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #388b1f;
/* rgb */ color: rgb(56, 139, 31);
/* oklch */ color: oklch(56.4% 0.162 139.7);
Tailwind
colors: {
  custom: {
    50: '#79ae63',
    500: '#388b1f',
    950: '#000000',
  },
}
SCSS
$custom: #388b1f;
$custom-light: #79ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#388b1f",
  "rgb": {
    "r": 56,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 106.111,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56407,
    "c": 0.16229,
    "h": 139.7
  },
  "luminance": 0.19405
}

Semantic roles & 50–950 ramp

primary
#388B1F
secondary
#A14CBA
accent
#41E7C0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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