#388C1A#388C1A

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

Color values

HEX#388C1A
RGBrgb(56, 140, 26)
HSLhsl(104, 69%, 33%)
HSVhsv(104, 81%, 55%)
CMYKcmyk(60%, 0%, 81.4%, 45.1%)
CIE-LABlab(51.46, -45.69, 48.83)
CIE-LCHlch(51.46, 66.87, 133.10°)
OKLaboklab(56.65% -0.1258 0.1084)
OKLCHoklch(56.65% 0.166 139.3)
XYZxyz(11.1950, 19.6705, 4.1839)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388C1A #6E1A8C
analogous
#718C1A #388C1A #1A8C35
triadic
#388C1A #1A388C #8C1A38
tetradic
#388C1A #1A718C #6E1A8C #8C351A
square
#388C1A #1A718C #6E1A8C #8C351A
split-complementary
#388C1A #351A8C #8C1A71
monochromatic
#0F2507 #235810 #388C1A #4DC024 #6CDC44

Accessibility & contrast

On white

4.26
#388C1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#388C1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388C1A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388C1A#FFFFFF#000000##000000
##388C1A1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #388c1a;
/* rgb */ color: rgb(56, 140, 26);
/* oklch */ color: oklch(56.7% 0.166 139.3);
Tailwind
colors: {
  custom: {
    50: '#79ae61',
    500: '#388c1a',
    950: '#000000',
  },
}
SCSS
$custom: #388c1a;
$custom-light: #79ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#388c1a",
  "rgb": {
    "r": 56,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 104.211,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56651,
    "c": 0.16611,
    "h": 139.3
  },
  "luminance": 0.19672
}

Semantic roles & 50–950 ramp

primary
#388C1A
secondary
#9E44BE
accent
#3CECBD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #388C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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