#387F13#387F13

#387F13 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.0% C 0.154 H 137.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#387F13
RGBrgb(56, 127, 19)
HSLhsl(99, 74%, 29%)
HSVhsv(99, 85%, 50%)
CMYKcmyk(55.9%, 0%, 85%, 50.2%)
CIE-LABlab(47.06, -41.10, 46.85)
CIE-LCHlch(47.06, 62.32, 131.26°)
OKLaboklab(53.01% -0.1139 0.1032)
OKLCHoklch(53.01% 0.154 137.8)
XYZxyz(9.3375, 16.0658, 3.2249)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F13 #5A137F
analogous
#6E7F13 #387F13 #137F24
triadic
#387F13 #13387F #7F1338
tetradic
#387F13 #136E7F #5A137F #7F2413
square
#387F13 #136E7F #5A137F #7F2413
split-complementary
#387F13 #24137F #7F136E
monochromatic
#0C1B04 #214A0B #387F13 #4FB41B #6AE02D

Accessibility & contrast

On white

4.98
#387F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#387F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387F13
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387F13#FFFFFF#000000##FFFFFF
##387F131.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#327A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #387f13;
/* rgb */ color: rgb(56, 127, 19);
/* oklch */ color: oklch(53.0% 0.154 137.8);
Tailwind
colors: {
  custom: {
    50: '#77a55c',
    500: '#387f13',
    950: '#000000',
  },
}
SCSS
$custom: #387f13;
$custom-light: #77a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#387f13",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 99.444,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53005,
    "c": 0.15372,
    "h": 137.8
  },
  "luminance": 0.16067
}

Semantic roles & 50–950 ramp

primary
#387F13
secondary
#8A39B4
accent
#37F1B1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387F13

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

Preview Lab → · Contrast checker → · Palette generator →

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