#387A15#387A15

#387A15 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.6% C 0.147 H 137.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#387A15
RGBrgb(56, 122, 21)
HSLhsl(99, 71%, 28%)
HSVhsv(99, 83%, 48%)
CMYKcmyk(54.1%, 0%, 82.8%, 52.2%)
CIE-LABlab(45.38, -39.00, 44.70)
CIE-LCHlch(45.38, 59.32, 131.11°)
OKLaboklab(51.62% -0.1082 0.099)
OKLCHoklch(51.62% 0.147 137.5)
XYZxyz(8.7255, 14.8133, 3.1088)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387A15 #57157A
analogous
#6A7A15 #387A15 #157A25
triadic
#387A15 #15387A #7A1538
tetradic
#387A15 #156A7A #57157A #7A2515
square
#387A15 #156A7A #57157A #7A2515
split-complementary
#387A15 #25157A #7A156A
monochromatic
#0C1A04 #20460C #387A15 #50AE1E #6ADB2E

Accessibility & contrast

On white

5.30
#387A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#387A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387A15
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387A15#FFFFFF#000000##FFFFFF
##387A151.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#766921
Tritanopia (blue-blind)
#337567
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #387a15;
/* rgb */ color: rgb(56, 122, 21);
/* oklch */ color: oklch(51.6% 0.147 137.5);
Tailwind
colors: {
  custom: {
    50: '#76a15c',
    500: '#387a15',
    950: '#000000',
  },
}
SCSS
$custom: #387a15;
$custom-light: #76a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#387a15",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 99.208,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5162,
    "c": 0.14664,
    "h": 137.5
  },
  "luminance": 0.14814
}

Semantic roles & 50–950 ramp

primary
#387A15
secondary
#873BAF
accent
#3AEDAF
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387A15

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

Preview Lab → · Contrast checker → · Palette generator →

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