#387228#387228

#387228 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.5% C 0.123 H 139.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#387228
RGBrgb(56, 114, 40)
HSLhsl(107, 48%, 30%)
HSVhsv(107, 65%, 45%)
CMYKcmyk(50.9%, 0%, 64.9%, 55.3%)
CIE-LABlab(42.81, -34.07, 34.36)
CIE-LCHlch(42.81, 48.39, 134.75°)
OKLaboklab(49.55% -0.0935 0.08)
OKLCHoklch(49.55% 0.123 139.5)
XYZxyz(8.0309, 13.0280, 4.0985)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387228 #622872
analogous
#5D7228 #387228 #28723D
triadic
#387228 #283872 #722838
tetradic
#387228 #285D72 #622872 #723D28
square
#387228 #285D72 #622872 #723D28
split-complementary
#387228 #3D2872 #72285D
monochromatic
#0B1708 #224518 #387228 #4E9F38 #6AC252

Accessibility & contrast

On white

5.82
#387228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#387228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387228
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387228#FFFFFF#000000##FFFFFF
##3872281.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756820
Deuteranopia (green-blind)
#6E632E
Tritanopia (blue-blind)
#336E62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #387228;
/* rgb */ color: rgb(56, 114, 40);
/* oklch */ color: oklch(49.5% 0.123 139.5);
Tailwind
colors: {
  custom: {
    50: '#749b65',
    500: '#387228',
    950: '#000000',
  },
}
SCSS
$custom: #387228;
$custom-light: #749b65;
$custom-dark: #000000;
JSON
{
  "hex": "#387228",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 107.027,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4955,
    "c": 0.12308,
    "h": 139.5
  },
  "luminance": 0.13029
}

Semantic roles & 50–950 ramp

primary
#387228
secondary
#9252A4
accent
#50D8BA
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #387228

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

Preview Lab → · Contrast checker → · Palette generator →

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