#388818#388818

#388818 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.5% C 0.162 H 138.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#388818
RGBrgb(56, 136, 24)
HSLhsl(103, 70%, 31%)
HSVhsv(103, 82%, 53%)
CMYKcmyk(58.8%, 0%, 82.4%, 46.7%)
CIE-LABlab(50.11, -44.30, 48.18)
CIE-LCHlch(50.11, 65.45, 132.60°)
OKLaboklab(55.53% -0.1222 0.1068)
OKLCHoklch(55.53% 0.162 138.9)
XYZxyz(10.5995, 18.5141, 3.8790)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388818 #681888
analogous
#708818 #388818 #188830
triadic
#388818 #183888 #881838
tetradic
#388818 #187088 #681888 #883018
square
#388818 #187088 #681888 #883018
split-complementary
#388818 #301888 #881870
monochromatic
#0D2006 #23540F #388818 #4DBC21 #6BDD3E

Accessibility & contrast

On white

4.47
#388818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#388818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388818
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388818#FFFFFF#000000##000000
##3888181.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#308374
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #388818;
/* rgb */ color: rgb(56, 136, 24);
/* oklch */ color: oklch(55.5% 0.162 138.9);
Tailwind
colors: {
  custom: {
    50: '#79ab5f',
    500: '#388818',
    950: '#000000',
  },
}
SCSS
$custom: #388818;
$custom-light: #79ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#388818",
  "rgb": {
    "r": 56,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 102.857,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55533,
    "c": 0.1623,
    "h": 138.9
  },
  "luminance": 0.18515
}

Semantic roles & 50–950 ramp

primary
#388818
secondary
#9840BC
accent
#3BEDBA
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388818

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

Preview Lab → · Contrast checker → · Palette generator →

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