#387C15#387C15

#387C15 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.2% C 0.149 H 137.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#387C15
RGBrgb(56, 124, 21)
HSLhsl(100, 71%, 28%)
HSVhsv(100, 83%, 49%)
CMYKcmyk(54.8%, 0%, 83.1%, 51.4%)
CIE-LABlab(46.06, -39.81, 45.33)
CIE-LCHlch(46.06, 60.32, 131.29°)
OKLaboklab(52.18% -0.1103 0.1003)
OKLCHoklch(52.18% 0.149 137.7)
XYZxyz(8.9736, 15.3095, 3.1915)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387C15 #59157C
analogous
#6B7C15 #387C15 #157C26
triadic
#387C15 #15387C #7C1538
tetradic
#387C15 #156B7C #59157C #7C2615
square
#387C15 #156B7C #59157C #7C2615
split-complementary
#387C15 #26157C #7C156B
monochromatic
#0C1A04 #20480C #387C15 #50B01E #6ADC30

Accessibility & contrast

On white

5.17
#387C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#387C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387C15
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387C15#FFFFFF#000000##FFFFFF
##387C151.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#337769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #387c15;
/* rgb */ color: rgb(56, 124, 21);
/* oklch */ color: oklch(52.2% 0.149 137.7);
Tailwind
colors: {
  custom: {
    50: '#77a25c',
    500: '#387c15',
    950: '#000000',
  },
}
SCSS
$custom: #387c15;
$custom-light: #77a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#387c15",
  "rgb": {
    "r": 56,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 99.612,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52179,
    "c": 0.14913,
    "h": 137.7
  },
  "luminance": 0.1531
}

Semantic roles & 50–950 ramp

primary
#387C15
secondary
#893CB1
accent
#3AEEB1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387C15

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

Preview Lab → · Contrast checker → · Palette generator →

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