#388D12#388D12

#388D12 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.171 H 138.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#388D12
RGBrgb(56, 141, 18)
HSLhsl(101, 77%, 31%)
HSVhsv(101, 87%, 55%)
CMYKcmyk(60.3%, 0%, 87.2%, 44.7%)
CIE-LABlab(51.76, -46.48, 51.32)
CIE-LCHlch(51.76, 69.24, 132.16°)
OKLaboklab(56.89% -0.1283 0.1125)
OKLCHoklch(56.89% 0.171 138.8)
XYZxyz(11.2645, 19.9332, 3.8260)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388D12 #67128D
analogous
#758D12 #388D12 #128D29
triadic
#388D12 #12388D #8D1238
tetradic
#388D12 #12758D #67128D #8D2912
square
#388D12 #12758D #67128D #8D2912
split-complementary
#388D12 #29128D #8D1275
monochromatic
#0D2004 #22570B #388D12 #4EC319 #6BE534

Accessibility & contrast

On white

4.21
#388D12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#388D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388D12
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388D12#FFFFFF#000000##000000
##388D121.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#2F8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #388d12;
/* rgb */ color: rgb(56, 141, 18);
/* oklch */ color: oklch(56.9% 0.171 138.8);
Tailwind
colors: {
  custom: {
    50: '#7aaf5e',
    500: '#388d12',
    950: '#000000',
  },
}
SCSS
$custom: #388d12;
$custom-light: #7aaf5e;
$custom-dark: #000000;
JSON
{
  "hex": "#388d12",
  "rgb": {
    "r": 56,
    "g": 141,
    "b": 18
  },
  "hsl": {
    "h": 101.463,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.17067,
    "h": 138.8
  },
  "luminance": 0.19934
}

Semantic roles & 50–950 ramp

primary
#388D12
secondary
#9739C1
accent
#34F4B9
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388D12

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

Preview Lab → · Contrast checker → · Palette generator →

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