#388A1F#388A1F

#388A1F is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.161 H 139.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#388A1F
RGBrgb(56, 138, 31)
HSLhsl(106, 63%, 33%)
HSVhsv(106, 78%, 54%)
CMYKcmyk(59.4%, 0%, 77.5%, 45.9%)
CIE-LABlab(50.82, -44.61, 46.54)
CIE-LCHlch(50.82, 64.47, 133.79°)
OKLaboklab(56.13% -0.1227 0.1044)
OKLCHoklch(56.13% 0.161 139.6)
XYZxyz(10.9662, 19.1157, 4.4079)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388A1F #711F8A
analogous
#6D8A1F #388A1F #1F8A3B
triadic
#388A1F #1F388A #8A1F38
tetradic
#388A1F #1F6D8A #711F8A #8A3B1F
square
#388A1F #1F6D8A #711F8A #8A3B1F
split-complementary
#388A1F #3B1F8A #8A1F6D
monochromatic
#0F2609 #245814 #388A1F #4CBC2A #6DD74C

Accessibility & contrast

On white

4.35
#388A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#388A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388A1F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388A1F#FFFFFF#000000##000000
##388A1F1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#2E8576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #388a1f;
/* rgb */ color: rgb(56, 138, 31);
/* oklch */ color: oklch(56.1% 0.161 139.6);
Tailwind
colors: {
  custom: {
    50: '#79ad63',
    500: '#388a1f',
    950: '#000000',
  },
}
SCSS
$custom: #388a1f;
$custom-light: #79ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#388a1f",
  "rgb": {
    "r": 56,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 105.981,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56131,
    "c": 0.16106,
    "h": 139.6
  },
  "luminance": 0.19117
}

Semantic roles & 50–950 ramp

primary
#388A1F
secondary
#A04BBA
accent
#41E6C0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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