#387B15#387B15

#387B15 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 51.9% C 0.148 H 137.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#387B15
RGBrgb(56, 123, 21)
HSLhsl(99, 71%, 28%)
HSVhsv(99, 83%, 48%)
CMYKcmyk(54.5%, 0%, 82.9%, 51.8%)
CIE-LABlab(45.72, -39.40, 45.01)
CIE-LCHlch(45.72, 59.82, 131.20°)
OKLaboklab(51.9% -0.1092 0.0997)
OKLCHoklch(51.9% 0.148 137.6)
XYZxyz(8.8489, 15.0601, 3.1499)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387B15 #58157B
analogous
#6B7B15 #387B15 #157B25
triadic
#387B15 #15387B #7B1538
tetradic
#387B15 #156B7B #58157B #7B2515
square
#387B15 #156B7B #58157B #7B2515
split-complementary
#387B15 #25157B #7B156B
monochromatic
#0C1A04 #20470C #387B15 #50AF1E #6ADB2F

Accessibility & contrast

On white

5.23
#387B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#387B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387B15
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387B15#FFFFFF#000000##FFFFFF
##387B151.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#337668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #387b15;
/* rgb */ color: rgb(56, 123, 21);
/* oklch */ color: oklch(51.9% 0.148 137.6);
Tailwind
colors: {
  custom: {
    50: '#77a25c',
    500: '#387b15',
    950: '#000000',
  },
}
SCSS
$custom: #387b15;
$custom-light: #77a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#387b15",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 99.412,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51899,
    "c": 0.14788,
    "h": 137.6
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

primary
#387B15
secondary
#883BB0
accent
#3AEEB0
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387B15

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

Preview Lab → · Contrast checker → · Palette generator →

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