#387828#387828

#387828 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.2% C 0.132 H 139.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#387828
RGBrgb(56, 120, 40)
HSLhsl(108, 50%, 31%)
HSVhsv(108, 67%, 47%)
CMYKcmyk(53.3%, 0%, 66.7%, 52.9%)
CIE-LABlab(44.84, -36.64, 36.62)
CIE-LCHlch(44.84, 51.80, 135.02°)
OKLaboklab(51.22% -0.1005 0.0848)
OKLCHoklch(51.22% 0.132 139.8)
XYZxyz(8.7300, 14.4262, 4.3316)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387828 #682878
analogous
#607828 #387828 #287840
triadic
#387828 #283878 #782838
tetradic
#387828 #286078 #682878 #784028
square
#387828 #286078 #682878 #784028
split-complementary
#387828 #402878 #782860
monochromatic
#0D1C09 #234A19 #387828 #4DA637 #6BC654

Accessibility & contrast

On white

5.40
#387828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#387828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387828
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387828#FFFFFF#000000##FFFFFF
##3878281.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1E
Deuteranopia (green-blind)
#73682F
Tritanopia (blue-blind)
#327467
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #387828;
/* rgb */ color: rgb(56, 120, 40);
/* oklch */ color: oklch(51.2% 0.132 139.8);
Tailwind
colors: {
  custom: {
    50: '#759f66',
    500: '#387828',
    950: '#000000',
  },
}
SCSS
$custom: #387828;
$custom-light: #759f66;
$custom-dark: #000000;
JSON
{
  "hex": "#387828",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 108,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5122,
    "c": 0.13151,
    "h": 139.8
  },
  "luminance": 0.14427
}

Semantic roles & 50–950 ramp

primary
#387828
secondary
#9852AA
accent
#4EDABE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #387828

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

Preview Lab → · Contrast checker → · Palette generator →

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