#388318#388318

#388318 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.156 H 138.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#388318
RGBrgb(56, 131, 24)
HSLhsl(102, 69%, 30%)
HSVhsv(102, 82%, 51%)
CMYKcmyk(57.3%, 0%, 81.7%, 48.6%)
CIE-LABlab(48.43, -42.39, 46.61)
CIE-LCHlch(48.43, 63.00, 132.28°)
OKLaboklab(54.15% -0.1171 0.1035)
OKLCHoklch(54.15% 0.156 138.5)
XYZxyz(9.9117, 17.1385, 3.6497)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388318 #631883
analogous
#6D8318 #388318 #18832D
triadic
#388318 #183883 #831838
tetradic
#388318 #186D83 #631883 #832D18
square
#388318 #186D83 #631883 #832D18
split-complementary
#388318 #2D1883 #83186D
monochromatic
#0C1C05 #224F0F #388318 #4EB721 #6ADB3A

Accessibility & contrast

On white

4.74
#388318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#388318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388318
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388318#FFFFFF#000000##FFFFFF
##3883181.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#317E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #388318;
/* rgb */ color: rgb(56, 131, 24);
/* oklch */ color: oklch(54.1% 0.156 138.5);
Tailwind
colors: {
  custom: {
    50: '#78a85f',
    500: '#388318',
    950: '#000000',
  },
}
SCSS
$custom: #388318;
$custom-light: #78a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#388318",
  "rgb": {
    "r": 56,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 102.056,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54146,
    "c": 0.15626,
    "h": 138.5
  },
  "luminance": 0.17139
}

Semantic roles & 50–950 ramp

primary
#388318
secondary
#9340B7
accent
#3CECB7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388318

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

Preview Lab → · Contrast checker → · Palette generator →

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