#388C1C#388C1C

#388C1C is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.165 H 139.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#388C1C
RGBrgb(56, 140, 28)
HSLhsl(105, 67%, 33%)
HSVhsv(105, 80%, 55%)
CMYKcmyk(60%, 0%, 80%, 45.1%)
CIE-LABlab(51.47, -45.57, 48.19)
CIE-LCHlch(51.47, 66.33, 133.40°)
OKLaboklab(56.66% -0.1254 0.1074)
OKLCHoklch(56.66% 0.165 139.4)
XYZxyz(11.2181, 19.6798, 4.3058)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388C1C #701C8C
analogous
#708C1C #388C1C #1C8C38
triadic
#388C1C #1C388C #8C1C38
tetradic
#388C1C #1C708C #701C8C #8C381C
square
#388C1C #1C708C #701C8C #8C381C
split-complementary
#388C1C #381C8C #8C1C70
monochromatic
#0F2608 #245912 #388C1C #4CBF26 #6DDA48

Accessibility & contrast

On white

4.25
#388C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#388C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388C1C
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388C1C#FFFFFF#000000##000000
##388C1C1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#2E8777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388c1c;
/* rgb */ color: rgb(56, 140, 28);
/* oklch */ color: oklch(56.7% 0.165 139.4);
Tailwind
colors: {
  custom: {
    50: '#79ae62',
    500: '#388c1c',
    950: '#000000',
  },
}
SCSS
$custom: #388c1c;
$custom-light: #79ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#388c1c",
  "rgb": {
    "r": 56,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 105,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56663,
    "c": 0.16511,
    "h": 139.4
  },
  "luminance": 0.19681
}

Semantic roles & 50–950 ramp

primary
#388C1C
secondary
#9F48BC
accent
#3EEABF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #388C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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