#388A1B#388A1B

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

Color values

HEX#388A1B
RGBrgb(56, 138, 27)
HSLhsl(104, 67%, 32%)
HSVhsv(104, 80%, 54%)
CMYKcmyk(59.4%, 0%, 80.4%, 45.9%)
CIE-LABlab(50.80, -44.88, 47.88)
CIE-LCHlch(50.80, 65.63, 133.15°)
OKLaboklab(56.1% -0.1236 0.1066)
OKLCHoklch(56.1% 0.163 139.2)
XYZxyz(10.9167, 19.0959, 4.1473)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388A1B #6D1B8A
analogous
#708A1B #388A1B #1B8A35
triadic
#388A1B #1B388A #8A1B38
tetradic
#388A1B #1B708A #6D1B8A #8A351B
square
#388A1B #1B708A #6D1B8A #8A351B
split-complementary
#388A1B #351B8A #8A1B70
monochromatic
#0E2407 #235711 #388A1B #4DBD25 #6CDB45

Accessibility & contrast

On white

4.36
#388A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##388A1B#FFFFFF#000000##000000
##388A1B1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#2F8575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #388a1b;
/* rgb */ color: rgb(56, 138, 27);
/* oklch */ color: oklch(56.1% 0.163 139.2);
Tailwind
colors: {
  custom: {
    50: '#79ad61',
    500: '#388a1b',
    950: '#000000',
  },
}
SCSS
$custom: #388a1b;
$custom-light: #79ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#388a1b",
  "rgb": {
    "r": 56,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 104.324,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56104,
    "c": 0.16322,
    "h": 139.2
  },
  "luminance": 0.19097
}

Semantic roles & 50–950 ramp

primary
#388A1B
secondary
#9D45BC
accent
#3EEABD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #388A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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