#388E1B#388E1B

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

Color values

HEX#388E1B
RGBrgb(56, 142, 27)
HSLhsl(105, 68%, 33%)
HSVhsv(105, 81%, 56%)
CMYKcmyk(60.6%, 0%, 81%, 44.3%)
CIE-LABlab(52.14, -46.38, 49.15)
CIE-LCHlch(52.14, 67.57, 133.34°)
OKLaboklab(57.21% -0.1276 0.1092)
OKLCHoklch(57.21% 0.168 139.4)
XYZxyz(11.5012, 20.2649, 4.3421)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388E1B #711B8E
analogous
#718E1B #388E1B #1B8E38
triadic
#388E1B #1B388E #8E1B38
tetradic
#388E1B #1B718E #711B8E #8E381B
square
#388E1B #1B718E #711B8E #8E381B
split-complementary
#388E1B #381B8E #8E1B71
monochromatic
#0F2707 #245B11 #388E1B #4CC125 #6DDC47

Accessibility & contrast

On white

4.16
#388E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#388E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388E1B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388E1B#FFFFFF#000000##000000
##388E1B1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#2E8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #388e1b;
/* rgb */ color: rgb(56, 142, 27);
/* oklch */ color: oklch(57.2% 0.168 139.4);
Tailwind
colors: {
  custom: {
    50: '#7ab062',
    500: '#388e1b',
    950: '#000000',
  },
}
SCSS
$custom: #388e1b;
$custom-light: #7ab062;
$custom-dark: #000000;
JSON
{
  "hex": "#388e1b",
  "rgb": {
    "r": 56,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 104.87,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57208,
    "c": 0.168,
    "h": 139.4
  },
  "luminance": 0.20266
}

Semantic roles & 50–950 ramp

primary
#388E1B
secondary
#A047BE
accent
#3DEBBF
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #388E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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