#387F1A#387F1A

#387F1A is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.150 H 138.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#387F1A
RGBrgb(56, 127, 26)
HSLhsl(102, 66%, 30%)
HSVhsv(102, 80%, 50%)
CMYKcmyk(55.9%, 0%, 79.5%, 50.2%)
CIE-LABlab(47.10, -40.69, 44.67)
CIE-LCHlch(47.10, 60.42, 132.33°)
OKLaboklab(53.05% -0.1124 0.0997)
OKLCHoklch(53.05% 0.15 138.4)
XYZxyz(9.4064, 16.0933, 3.5877)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F1A #611A7F
analogous
#6B7F1A #387F1A #1A7F2E
triadic
#387F1A #1A387F #7F1A38
tetradic
#387F1A #1A6B7F #611A7F #7F2E1A
square
#387F1A #1A6B7F #611A7F #7F2E1A
split-complementary
#387F1A #2E1A7F #7F1A6B
monochromatic
#0B1905 #224C10 #387F1A #4EB224 #6AD73C

Accessibility & contrast

On white

4.98
#387F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#387F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387F1A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387F1A#FFFFFF#000000##FFFFFF
##387F1A1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837302
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#327A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #387f1a;
/* rgb */ color: rgb(56, 127, 26);
/* oklch */ color: oklch(53.0% 0.150 138.4);
Tailwind
colors: {
  custom: {
    50: '#77a55f',
    500: '#387f1a',
    950: '#000000',
  },
}
SCSS
$custom: #387f1a;
$custom-light: #77a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#387f1a",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 102.178,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.53046,
    "c": 0.15027,
    "h": 138.4
  },
  "luminance": 0.16094
}

Semantic roles & 50–950 ramp

primary
#387F1A
secondary
#9142B3
accent
#3FE9B6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387F1A

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

Preview Lab → · Contrast checker → · Palette generator →

#387F1A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva