#388718#388718

#388718 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.3% C 0.161 H 138.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#388718
RGBrgb(56, 135, 24)
HSLhsl(103, 70%, 31%)
HSVhsv(103, 82%, 53%)
CMYKcmyk(58.5%, 0%, 82.2%, 47.1%)
CIE-LABlab(49.78, -43.93, 47.87)
CIE-LCHlch(49.78, 64.97, 132.54°)
OKLaboklab(55.26% -0.1212 0.1061)
OKLCHoklch(55.26% 0.161 138.8)
XYZxyz(10.4593, 18.2338, 3.8323)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388718 #671887
analogous
#6F8718 #388718 #18872F
triadic
#388718 #183887 #871838
tetradic
#388718 #186F87 #671887 #872F18
square
#388718 #186F87 #671887 #872F18
split-complementary
#388718 #2F1887 #87186F
monochromatic
#0D1F06 #22530F #388718 #4EBB21 #6BDC3D

Accessibility & contrast

On white

4.52
#388718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#388718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388718
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388718#FFFFFF#000000##000000
##3887181.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#817425
Tritanopia (blue-blind)
#308273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #388718;
/* rgb */ color: rgb(56, 135, 24);
/* oklch */ color: oklch(55.3% 0.161 138.8);
Tailwind
colors: {
  custom: {
    50: '#78ab5f',
    500: '#388718',
    950: '#000000',
  },
}
SCSS
$custom: #388718;
$custom-light: #78ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#388718",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 102.703,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55256,
    "c": 0.1611,
    "h": 138.8
  },
  "luminance": 0.18235
}

Semantic roles & 50–950 ramp

primary
#388718
secondary
#9740BB
accent
#3BEDB9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388718

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

Preview Lab → · Contrast checker → · Palette generator →

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