#388215#388215

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

Color values

HEX#388215
RGBrgb(56, 130, 21)
HSLhsl(101, 72%, 30%)
HSVhsv(101, 84%, 51%)
CMYKcmyk(56.9%, 0%, 83.8%, 49%)
CIE-LABlab(48.08, -42.17, 47.20)
CIE-LCHlch(48.08, 63.29, 131.78°)
OKLaboklab(53.85% -0.1167 0.1043)
OKLCHoklch(53.85% 0.156 138.2)
XYZxyz(9.7485, 16.8594, 3.4498)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388215 #5F1582
analogous
#6F8215 #388215 #158229
triadic
#388215 #153882 #821538
tetradic
#388215 #156F82 #5F1582 #822915
square
#388215 #156F82 #5F1582 #822915
split-complementary
#388215 #291582 #82156F
monochromatic
#0B1A04 #214D0C #388215 #4FB71E #6ADE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##388215#FFFFFF#000000##FFFFFF
##3882151.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)
#7D7022
Tritanopia (blue-blind)
#317D6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #388215;
/* rgb */ color: rgb(56, 130, 21);
/* oklch */ color: oklch(53.9% 0.156 138.2);
Tailwind
colors: {
  custom: {
    50: '#78a75d',
    500: '#388215',
    950: '#000000',
  },
}
SCSS
$custom: #388215;
$custom-light: #78a75d;
$custom-dark: #000000;
JSON
{
  "hex": "#388215",
  "rgb": {
    "r": 56,
    "g": 130,
    "b": 21
  },
  "hsl": {
    "h": 100.734,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53851,
    "c": 0.15647,
    "h": 138.2
  },
  "luminance": 0.1686
}

Semantic roles & 50–950 ramp

primary
#388215
secondary
#8F3CB7
accent
#39EFB4
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #388215

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

Preview Lab → · Contrast checker → · Palette generator →

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