#387B14#387B14

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

Color values

HEX#387B14
RGBrgb(56, 123, 20)
HSLhsl(99, 72%, 28%)
HSVhsv(99, 84%, 48%)
CMYKcmyk(54.5%, 0%, 83.7%, 51.8%)
CIE-LABlab(45.71, -39.46, 45.31)
CIE-LCHlch(45.71, 60.09, 131.05°)
OKLaboklab(51.89% -0.1094 0.1002)
OKLCHoklch(51.89% 0.148 137.5)
XYZxyz(8.8398, 15.0565, 3.1021)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387B14 #57147B
analogous
#6B7B14 #387B14 #147B23
triadic
#387B14 #14387B #7B1438
tetradic
#387B14 #146B7B #57147B #7B2314
square
#387B14 #146B7B #57147B #7B2314
split-complementary
#387B14 #23147B #7B146B
monochromatic
#0C1A04 #20460B #387B14 #50B01D #6ADD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387B14#FFFFFF#000000##FFFFFF
##387B141.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: #387b14;
/* rgb */ color: rgb(56, 123, 20);
/* oklch */ color: oklch(51.9% 0.148 137.5);
Tailwind
colors: {
  custom: {
    50: '#77a25c',
    500: '#387b14',
    950: '#000000',
  },
}
SCSS
$custom: #387b14;
$custom-light: #77a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#387b14",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 99.029,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51894,
    "c": 0.14836,
    "h": 137.5
  },
  "luminance": 0.15057
}

Semantic roles & 50–950 ramp

primary
#387B14
secondary
#873AB1
accent
#39EFAF
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387B14

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

Preview Lab → · Contrast checker → · Palette generator →

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