#388F12#388F12

#388F12 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.173 H 138.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#388F12
RGBrgb(56, 143, 18)
HSLhsl(102, 78%, 32%)
HSVhsv(102, 87%, 56%)
CMYKcmyk(60.8%, 0%, 87.4%, 43.9%)
CIE-LABlab(52.43, -47.21, 51.91)
CIE-LCHlch(52.43, 70.17, 132.28°)
OKLaboklab(57.44% -0.1303 0.1138)
OKLCHoklch(57.44% 0.173 138.9)
XYZxyz(11.5621, 20.5283, 3.9252)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388F12 #69128F
analogous
#778F12 #388F12 #128F2B
triadic
#388F12 #12388F #8F1238
tetradic
#388F12 #12778F #69128F #8F2B12
square
#388F12 #12778F #69128F #8F2B12
split-complementary
#388F12 #2B128F #8F1277
monochromatic
#0D2204 #23590B #388F12 #4DC519 #6BE636

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##388F12#FFFFFF#000000##000000
##388F121.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)
#938100
Deuteranopia (green-blind)
#897A23
Tritanopia (blue-blind)
#2E8A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #388f12;
/* rgb */ color: rgb(56, 143, 18);
/* oklch */ color: oklch(57.4% 0.173 138.9);
Tailwind
colors: {
  custom: {
    50: '#7ab15e',
    500: '#388f12',
    950: '#000000',
  },
}
SCSS
$custom: #388f12;
$custom-light: #7ab15e;
$custom-dark: #000000;
JSON
{
  "hex": "#388f12",
  "rgb": {
    "r": 56,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 101.76,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57439,
    "c": 0.17297,
    "h": 138.9
  },
  "luminance": 0.20529
}

Semantic roles & 50–950 ramp

primary
#388F12
secondary
#993AC3
accent
#34F4BA
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #388F12

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

Preview Lab → · Contrast checker → · Palette generator →

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