#388917#388917

#388917 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.164 H 138.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#388917
RGBrgb(56, 137, 23)
HSLhsl(103, 71%, 31%)
HSVhsv(103, 83%, 54%)
CMYKcmyk(59.1%, 0%, 83.2%, 46.3%)
CIE-LABlab(50.44, -44.74, 48.79)
CIE-LCHlch(50.44, 66.20, 132.52°)
OKLaboklab(55.8% -0.1234 0.1079)
OKLCHoklch(55.8% 0.164 138.8)
XYZxyz(10.7308, 18.7930, 3.8724)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388917 #681789
analogous
#718917 #388917 #17892F
triadic
#388917 #173889 #891738
tetradic
#388917 #177189 #681789 #892F17
square
#388917 #177189 #681789 #892F17
split-complementary
#388917 #2F1789 #891771
monochromatic
#0D2005 #23550E #388917 #4DBD20 #6BDE3C

Accessibility & contrast

On white

4.41
#388917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#388917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388917
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388917#FFFFFF#000000##000000
##3889171.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#837625
Tritanopia (blue-blind)
#2F8474
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #388917;
/* rgb */ color: rgb(56, 137, 23);
/* oklch */ color: oklch(55.8% 0.164 138.8);
Tailwind
colors: {
  custom: {
    50: '#79ac5f',
    500: '#388917',
    950: '#000000',
  },
}
SCSS
$custom: #388917;
$custom-light: #79ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#388917",
  "rgb": {
    "r": 56,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 102.632,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55804,
    "c": 0.16396,
    "h": 138.8
  },
  "luminance": 0.18794
}

Semantic roles & 50–950 ramp

primary
#388917
secondary
#983FBD
accent
#3AEEBA
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388917

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

Preview Lab → · Contrast checker → · Palette generator →

#388917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva