#388317#388317

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

Color values

HEX#388317
RGBrgb(56, 131, 23)
HSLhsl(102, 70%, 30%)
HSVhsv(102, 82%, 51%)
CMYKcmyk(57.3%, 0%, 82.4%, 48.6%)
CIE-LABlab(48.43, -42.45, 46.92)
CIE-LCHlch(48.43, 63.27, 132.14°)
OKLaboklab(54.14% -0.1173 0.104)
OKLCHoklch(54.14% 0.157 138.4)
XYZxyz(9.9015, 17.1344, 3.5959)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388317 #621783
analogous
#6E8317 #388317 #17832C
triadic
#388317 #173883 #831738
tetradic
#388317 #176E83 #621783 #832C17
square
#388317 #176E83 #621783 #832C17
split-complementary
#388317 #2C1783 #83176E
monochromatic
#0B1B05 #224F0E #388317 #4EB720 #6ADC38

Accessibility & contrast

On white

4.74
#388317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #388317
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388317#FFFFFF#000000##FFFFFF
##3883171.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #388317;
/* rgb */ color: rgb(56, 131, 23);
/* oklch */ color: oklch(54.1% 0.157 138.4);
Tailwind
colors: {
  custom: {
    50: '#78a85e',
    500: '#388317',
    950: '#000000',
  },
}
SCSS
$custom: #388317;
$custom-light: #78a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#388317",
  "rgb": {
    "r": 56,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 101.667,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5414,
    "c": 0.15674,
    "h": 138.4
  },
  "luminance": 0.17135
}

Semantic roles & 50–950 ramp

primary
#388317
secondary
#923FB7
accent
#3BEDB7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #388317

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

Preview Lab → · Contrast checker → · Palette generator →

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