#388D1F#388D1F

#388D1F is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.165 H 139.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#388D1F
RGBrgb(56, 141, 31)
HSLhsl(106, 64%, 34%)
HSVhsv(106, 78%, 55%)
CMYKcmyk(60.3%, 0%, 78%, 44.7%)
CIE-LABlab(51.82, -45.75, 47.52)
CIE-LCHlch(51.82, 65.96, 133.91°)
OKLaboklab(56.96% -0.1257 0.1064)
OKLCHoklch(56.96% 0.165 139.7)
XYZxyz(11.4026, 19.9884, 4.5533)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388D1F #741F8D
analogous
#6F8D1F #388D1F #1F8D3D
triadic
#388D1F #1F388D #8D1F38
tetradic
#388D1F #1F6F8D #741F8D #8D3D1F
square
#388D1F #1F6F8D #741F8D #8D3D1F
split-complementary
#388D1F #3D1F8D #8D1F6F
monochromatic
#102909 #245B14 #388D1F #4CBF2A #6ED84E

Accessibility & contrast

On white

4.20
#388D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#388D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388D1F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388D1F#FFFFFF#000000##000000
##388D1F1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#2D8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #388d1f;
/* rgb */ color: rgb(56, 141, 31);
/* oklch */ color: oklch(57.0% 0.165 139.7);
Tailwind
colors: {
  custom: {
    50: '#79af63',
    500: '#388d1f',
    950: '#000000',
  },
}
SCSS
$custom: #388d1f;
$custom-light: #79af63;
$custom-dark: #000000;
JSON
{
  "hex": "#388d1f",
  "rgb": {
    "r": 56,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 106.364,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56958,
    "c": 0.16471,
    "h": 139.7
  },
  "luminance": 0.19989
}

Semantic roles & 50–950 ramp

primary
#388D1F
secondary
#A24DBB
accent
#41E7C1
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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