#388315#388315

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

Color values

HEX#388315
RGBrgb(56, 131, 21)
HSLhsl(101, 72%, 30%)
HSVhsv(101, 84%, 51%)
CMYKcmyk(57.3%, 0%, 84%, 48.6%)
CIE-LABlab(48.42, -42.56, 47.51)
CIE-LCHlch(48.42, 63.78, 131.85°)
OKLaboklab(54.13% -0.1177 0.1049)
OKLCHoklch(54.13% 0.158 138.3)
XYZxyz(9.8822, 17.1267, 3.4943)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388315 #601583
analogous
#6F8315 #388315 #158329
triadic
#388315 #153883 #831538
tetradic
#388315 #156F83 #601583 #832915
square
#388315 #156F83 #601583 #832915
split-complementary
#388315 #291583 #83156F
monochromatic
#0B1A04 #214E0D #388315 #4FB81D #6ADE34

Accessibility & contrast

On white

4.75
#388315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #388315
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388315#FFFFFF#000000##FFFFFF
##3883151.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #388315;
/* rgb */ color: rgb(56, 131, 21);
/* oklch */ color: oklch(54.1% 0.158 138.3);
Tailwind
colors: {
  custom: {
    50: '#78a85d',
    500: '#388315',
    950: '#000000',
  },
}
SCSS
$custom: #388315;
$custom-light: #78a85d;
$custom-dark: #000000;
JSON
{
  "hex": "#388315",
  "rgb": {
    "r": 56,
    "g": 131,
    "b": 21
  },
  "hsl": {
    "h": 100.909,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54129,
    "c": 0.15768,
    "h": 138.3
  },
  "luminance": 0.17127
}

Semantic roles & 50–950 ramp

primary
#388315
secondary
#903CB8
accent
#39EFB5
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388315

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

Preview Lab → · Contrast checker → · Palette generator →

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