#388F31#388F31

#388F31 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.155 H 142.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#388F31
RGBrgb(56, 143, 49)
HSLhsl(116, 49%, 38%)
HSVhsv(116, 66%, 56%)
CMYKcmyk(60.8%, 0%, 65.7%, 43.9%)
CIE-LABlab(52.63, -44.92, 41.09)
CIE-LCHlch(52.63, 60.88, 137.55°)
OKLaboklab(57.67% -0.1224 0.0953)
OKLCHoklch(57.67% 0.155 142.1)
XYZxyz(12.0071, 20.7063, 6.2691)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388F31 #88318F
analogous
#678F31 #388F31 #318F59
triadic
#388F31 #31388F #8F3138
tetradic
#388F31 #31678F #88318F #8F5931
square
#388F31 #31678F #88318F #8F5931
split-complementary
#388F31 #59318F #8F3167
monochromatic
#143412 #266121 #388F31 #4ABD41 #74CD6D

Accessibility & contrast

On white

4.08
#388F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#388F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #388F31
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388F31#FFFFFF#000000##000000
##388F311.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928226
Deuteranopia (green-blind)
#877B39
Tritanopia (blue-blind)
#2A8B7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #388f31;
/* rgb */ color: rgb(56, 143, 49);
/* oklch */ color: oklch(57.7% 0.155 142.1);
Tailwind
colors: {
  custom: {
    50: '#79b16d',
    500: '#388f31',
    950: '#000000',
  },
}
SCSS
$custom: #388f31;
$custom-light: #79b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#388f31",
  "rgb": {
    "r": 56,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 115.532,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57665,
    "c": 0.15515,
    "h": 142.1
  },
  "luminance": 0.20707
}

Semantic roles & 50–950 ramp

primary
#388F31
secondary
#AF67B5
accent
#4FD9CE
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #388F31

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

Preview Lab → · Contrast checker → · Palette generator →

#388F31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva