#387B13#387B13

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

Color values

HEX#387B13
RGBrgb(56, 123, 19)
HSLhsl(99, 73%, 28%)
HSVhsv(99, 85%, 48%)
CMYKcmyk(54.5%, 0%, 84.6%, 51.8%)
CIE-LABlab(45.71, -39.52, 45.61)
CIE-LCHlch(45.71, 60.35, 130.90°)
OKLaboklab(51.89% -0.1096 0.1006)
OKLCHoklch(51.89% 0.149 137.5)
XYZxyz(8.8311, 15.0530, 3.0561)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387B13 #56137B
analogous
#6C7B13 #387B13 #137B22
triadic
#387B13 #13387B #7B1338
tetradic
#387B13 #136C7B #56137B #7B2213
square
#387B13 #136C7B #56137B #7B2213
split-complementary
#387B13 #22137B #7B136C
monochromatic
#0C1B04 #20460B #387B13 #50B01B #6ADE2A

Accessibility & contrast

On white

5.24
#387B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #387B13
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387B13#FFFFFF#000000##FFFFFF
##387B131.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #387b13;
/* rgb */ color: rgb(56, 123, 19);
/* oklch */ color: oklch(51.9% 0.149 137.5);
Tailwind
colors: {
  custom: {
    50: '#77a25b',
    500: '#387b13',
    950: '#000000',
  },
}
SCSS
$custom: #387b13;
$custom-light: #77a25b;
$custom-dark: #000000;
JSON
{
  "hex": "#387b13",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 19
  },
  "hsl": {
    "h": 98.654,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51888,
    "c": 0.14883,
    "h": 137.5
  },
  "luminance": 0.15054
}

Semantic roles & 50–950 ramp

primary
#387B13
secondary
#8639B1
accent
#38F0AE
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387B13

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

Preview Lab → · Contrast checker → · Palette generator →

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