#388140#388140

#388140 is a mid, vivid green. Relative luminance 0.169; OKLCH L 54.0% C 0.122 H 145.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#388140
RGBrgb(56, 129, 64)
HSLhsl(127, 39%, 36%)
HSVhsv(127, 57%, 51%)
CMYKcmyk(56.6%, 0%, 50.4%, 49.4%)
CIE-LABlab(48.15, -37.30, 28.38)
CIE-LCHlch(48.15, 46.87, 142.74°)
OKLaboklab(54.03% -0.1011 0.0688)
OKLCHoklch(54.03% 0.122 145.8)
XYZxyz(10.4059, 16.9105, 7.5652)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388140 #813879
analogous
#558138 #388140 #388165
triadic
#388140 #403881 #814038
tetradic
#388140 #385581 #813879 #816538
square
#388140 #385581 #813879 #816538
split-complementary
#388140 #653881 #813855
monochromatic
#132C16 #25562B #388140 #4BAC55 #72C27A

Accessibility & contrast

On white

4.79
#388140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#388140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388140
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388140#FFFFFF#000000##FFFFFF
##3881401.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83763B
Deuteranopia (green-blind)
#797044
Tritanopia (blue-blind)
#2A7E72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #388140;
/* rgb */ color: rgb(56, 129, 64);
/* oklch */ color: oklch(54.0% 0.122 145.8);
Tailwind
colors: {
  custom: {
    50: '#75a676',
    500: '#388140',
    950: '#000000',
  },
}
SCSS
$custom: #388140;
$custom-light: #75a676;
$custom-dark: #000000;
JSON
{
  "hex": "#388140",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 64
  },
  "hsl": {
    "h": 126.575,
    "s": 39.459,
    "l": 36.275
  },
  "oklch": {
    "l": 0.54033,
    "c": 0.12233,
    "h": 145.8
  },
  "luminance": 0.16911
}

Semantic roles & 50–950 ramp

primary
#388140
secondary
#AB6AA4
accent
#58C2CF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #388140

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

Preview Lab → · Contrast checker → · Palette generator →

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