#387E13#387E13

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

Color values

HEX#387E13
RGBrgb(56, 126, 19)
HSLhsl(99, 74%, 28%)
HSVhsv(99, 85%, 49%)
CMYKcmyk(55.6%, 0%, 84.9%, 50.6%)
CIE-LABlab(46.72, -40.71, 46.54)
CIE-LCHlch(46.72, 61.83, 131.18°)
OKLaboklab(52.73% -0.1128 0.1026)
OKLCHoklch(52.73% 0.153 137.7)
XYZxyz(9.2090, 15.8088, 3.1821)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E13 #59137E
analogous
#6D7E13 #387E13 #137E23
triadic
#387E13 #13387E #7E1338
tetradic
#387E13 #136D7E #59137E #7E2313
square
#387E13 #136D7E #59137E #7E2313
split-complementary
#387E13 #23137E #7E136D
monochromatic
#0C1B04 #20490B #387E13 #50B31B #6ADF2C

Accessibility & contrast

On white

5.05
#387E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#387E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387E13
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387E13#FFFFFF#000000##FFFFFF
##387E131.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796D20
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e13;
/* rgb */ color: rgb(56, 126, 19);
/* oklch */ color: oklch(52.7% 0.153 137.7);
Tailwind
colors: {
  custom: {
    50: '#77a45c',
    500: '#387e13',
    950: '#000000',
  },
}
SCSS
$custom: #387e13;
$custom-light: #77a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#387e13",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 99.252,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52726,
    "c": 0.15251,
    "h": 137.7
  },
  "luminance": 0.15809
}

Semantic roles & 50–950 ramp

primary
#387E13
secondary
#8939B4
accent
#37F0B0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387E13

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

Preview Lab → · Contrast checker → · Palette generator →

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