#388218#388218

#388218 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.155 H 138.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#388218
RGBrgb(56, 130, 24)
HSLhsl(102, 69%, 30%)
HSVhsv(102, 82%, 51%)
CMYKcmyk(56.9%, 0%, 81.5%, 49%)
CIE-LABlab(48.10, -42.00, 46.29)
CIE-LCHlch(48.10, 62.50, 132.22°)
OKLaboklab(53.87% -0.116 0.1028)
OKLCHoklch(53.87% 0.155 138.5)
XYZxyz(9.7780, 16.8712, 3.6052)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388218 #621882
analogous
#6D8218 #388218 #18822D
triadic
#388218 #183882 #821838
tetradic
#388218 #186D82 #621882 #822D18
square
#388218 #186D82 #621882 #822D18
split-complementary
#388218 #2D1882 #82186D
monochromatic
#0B1B05 #224E0E #388218 #4EB622 #6ADB3A

Accessibility & contrast

On white

4.80
#388218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#388218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388218
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388218#FFFFFF#000000##FFFFFF
##3882181.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#317D6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #388218;
/* rgb */ color: rgb(56, 130, 24);
/* oklch */ color: oklch(53.9% 0.155 138.5);
Tailwind
colors: {
  custom: {
    50: '#78a75f',
    500: '#388218',
    950: '#000000',
  },
}
SCSS
$custom: #388218;
$custom-light: #78a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#388218",
  "rgb": {
    "r": 56,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 101.887,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53868,
    "c": 0.15503,
    "h": 138.5
  },
  "luminance": 0.16872
}

Semantic roles & 50–950 ramp

primary
#388218
secondary
#9240B6
accent
#3CECB7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #388218

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

Preview Lab → · Contrast checker → · Palette generator →

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