#388331#388331

#388331 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.4% C 0.139 H 141.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#388331
RGBrgb(56, 131, 49)
HSLhsl(115, 46%, 35%)
HSVhsv(115, 63%, 51%)
CMYKcmyk(57.3%, 0%, 62.6%, 48.6%)
CIE-LABlab(48.63, -40.18, 36.61)
CIE-LCHlch(48.63, 54.36, 137.66°)
OKLaboklab(54.37% -0.1096 0.0858)
OKLCHoklch(54.37% 0.139 141.9)
XYZxyz(10.3011, 17.2942, 5.7004)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388331 #7C3183
analogous
#618331 #388331 #318353
triadic
#388331 #313883 #833138
tetradic
#388331 #316183 #7C3183 #835331
square
#388331 #316183 #7C3183 #835331
split-complementary
#388331 #533183 #833161
monochromatic
#122A10 #255620 #388331 #4BB042 #70C668

Accessibility & contrast

On white

4.71
#388331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#388331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388331
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388331#FFFFFF#000000##FFFFFF
##3883311.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867728
Deuteranopia (green-blind)
#7C7138
Tritanopia (blue-blind)
#2D7F71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #388331;
/* rgb */ color: rgb(56, 131, 49);
/* oklch */ color: oklch(54.4% 0.139 141.9);
Tailwind
colors: {
  custom: {
    50: '#76a86c',
    500: '#388331',
    950: '#000000',
  },
}
SCSS
$custom: #388331;
$custom-light: #76a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#388331",
  "rgb": {
    "r": 56,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 114.878,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54369,
    "c": 0.13914,
    "h": 141.9
  },
  "luminance": 0.17295
}

Semantic roles & 50–950 ramp

primary
#388331
secondary
#A762AE
accent
#53D5CA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #388331

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

Preview Lab → · Contrast checker → · Palette generator →

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