#388E1F#388E1F

#388E1F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.166 H 139.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#388E1F
RGBrgb(56, 142, 31)
HSLhsl(106, 64%, 34%)
HSVhsv(106, 78%, 56%)
CMYKcmyk(60.6%, 0%, 78.2%, 44.3%)
CIE-LABlab(52.16, -46.12, 47.84)
CIE-LCHlch(52.16, 66.45, 133.95°)
OKLaboklab(57.23% -0.1267 0.1071)
OKLCHoklch(57.23% 0.166 139.8)
XYZxyz(11.5507, 20.2846, 4.6027)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388E1F #751F8E
analogous
#708E1F #388E1F #1F8E3D
triadic
#388E1F #1F388E #8E1F38
tetradic
#388E1F #1F708E #751F8E #8E3D1F
square
#388E1F #1F708E #751F8E #8E3D1F
split-complementary
#388E1F #3D1F8E #8E1F70
monochromatic
#102A09 #245C14 #388E1F #4CC02A #6ED94F

Accessibility & contrast

On white

4.15
#388E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#388E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388E1F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388E1F#FFFFFF#000000##000000
##388E1F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#877A2B
Tritanopia (blue-blind)
#2D8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #388e1f;
/* rgb */ color: rgb(56, 142, 31);
/* oklch */ color: oklch(57.2% 0.166 139.8);
Tailwind
colors: {
  custom: {
    50: '#79b063',
    500: '#388e1f',
    950: '#000000',
  },
}
SCSS
$custom: #388e1f;
$custom-light: #79b063;
$custom-dark: #000000;
JSON
{
  "hex": "#388e1f",
  "rgb": {
    "r": 56,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 106.486,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57234,
    "c": 0.16592,
    "h": 139.8
  },
  "luminance": 0.20286
}

Semantic roles & 50–950 ramp

primary
#388E1F
secondary
#A34DBB
accent
#41E7C2
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #388E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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