#388131#388131

#388131 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.136 H 141.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#388131
RGBrgb(56, 129, 49)
HSLhsl(115, 45%, 35%)
HSVhsv(115, 62%, 51%)
CMYKcmyk(56.6%, 0%, 62%, 49.4%)
CIE-LABlab(47.96, -39.37, 35.85)
CIE-LCHlch(47.96, 53.24, 137.68°)
OKLaboklab(53.82% -0.1074 0.0841)
OKLCHoklch(53.82% 0.136 141.9)
XYZxyz(10.0350, 16.7622, 5.6117)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388131 #7A3181
analogous
#608131 #388131 #318152
triadic
#388131 #313881 #813138
tetradic
#388131 #316081 #7A3181 #815231
square
#388131 #316081 #7A3181 #815231
split-complementary
#388131 #523181 #813160
monochromatic
#11280F #255520 #388131 #4BAD42 #6FC567

Accessibility & contrast

On white

4.82
#388131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#388131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388131
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388131#FFFFFF#000000##FFFFFF
##3881311.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847628
Deuteranopia (green-blind)
#7B6F37
Tritanopia (blue-blind)
#2E7D70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #388131;
/* rgb */ color: rgb(56, 129, 49);
/* oklch */ color: oklch(53.8% 0.136 141.9);
Tailwind
colors: {
  custom: {
    50: '#76a66c',
    500: '#388131',
    950: '#000000',
  },
}
SCSS
$custom: #388131;
$custom-light: #76a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#388131",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 114.75,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53817,
    "c": 0.13639,
    "h": 141.9
  },
  "luminance": 0.16763
}

Semantic roles & 50–950 ramp

primary
#388131
secondary
#A661AD
accent
#53D5C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #388131

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

Preview Lab → · Contrast checker → · Palette generator →

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