#388915#388915

#388915 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.165 H 138.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#388915
RGBrgb(56, 137, 21)
HSLhsl(102, 73%, 31%)
HSVhsv(102, 85%, 54%)
CMYKcmyk(59.1%, 0%, 84.7%, 46.3%)
CIE-LABlab(50.44, -44.84, 49.35)
CIE-LCHlch(50.44, 66.68, 132.26°)
OKLaboklab(55.79% -0.1238 0.1088)
OKLCHoklch(55.79% 0.165 138.7)
XYZxyz(10.7115, 18.7853, 3.7708)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388915 #661589
analogous
#728915 #388915 #15892C
triadic
#388915 #153889 #891538
tetradic
#388915 #157289 #661589 #892C15
square
#388915 #157289 #661589 #892C15
split-complementary
#388915 #2C1589 #891572
monochromatic
#0D1F05 #22540D #388915 #4EBE1D #6BE038

Accessibility & contrast

On white

4.41
#388915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#388915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388915
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388915#FFFFFF#000000##000000
##3889151.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#837624
Tritanopia (blue-blind)
#308474
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #388915;
/* rgb */ color: rgb(56, 137, 21);
/* oklch */ color: oklch(55.8% 0.165 138.7);
Tailwind
colors: {
  custom: {
    50: '#79ac5e',
    500: '#388915',
    950: '#000000',
  },
}
SCSS
$custom: #388915;
$custom-light: #79ac5e;
$custom-dark: #000000;
JSON
{
  "hex": "#388915",
  "rgb": {
    "r": 56,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 101.897,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55794,
    "c": 0.16483,
    "h": 138.7
  },
  "luminance": 0.18786
}

Semantic roles & 50–950 ramp

primary
#388915
secondary
#963DBD
accent
#38F0B8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388915

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

Preview Lab → · Contrast checker → · Palette generator →

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