#388F1B#388F1B

#388F1B is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.169 H 139.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#388F1B
RGBrgb(56, 143, 27)
HSLhsl(105, 68%, 33%)
HSVhsv(105, 81%, 56%)
CMYKcmyk(60.8%, 0%, 81.1%, 43.9%)
CIE-LABlab(52.47, -46.75, 49.46)
CIE-LCHlch(52.47, 68.06, 133.39°)
OKLaboklab(57.48% -0.1286 0.1099)
OKLCHoklch(57.48% 0.169 139.5)
XYZxyz(11.6507, 20.5638, 4.3919)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388F1B #721B8F
analogous
#728F1B #388F1B #1B8F38
triadic
#388F1B #1B388F #8F1B38
tetradic
#388F1B #1B728F #721B8F #8F381B
square
#388F1B #1B728F #721B8F #8F381B
split-complementary
#388F1B #381B8F #8F1B72
monochromatic
#102808 #245C11 #388F1B #4CC225 #6DDC48

Accessibility & contrast

On white

4.11
#388F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#388F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388F1B
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388F1B#FFFFFF#000000##000000
##388F1B1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#897A29
Tritanopia (blue-blind)
#2D8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #388f1b;
/* rgb */ color: rgb(56, 143, 27);
/* oklch */ color: oklch(57.5% 0.169 139.5);
Tailwind
colors: {
  custom: {
    50: '#7ab162',
    500: '#388f1b',
    950: '#000000',
  },
}
SCSS
$custom: #388f1b;
$custom-light: #7ab162;
$custom-dark: #000000;
JSON
{
  "hex": "#388f1b",
  "rgb": {
    "r": 56,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 105,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57484,
    "c": 0.16919,
    "h": 139.5
  },
  "luminance": 0.20565
}

Semantic roles & 50–950 ramp

primary
#388F1B
secondary
#A148BE
accent
#3DEBBF
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #388F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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