#387913#387913

#387913 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.3% C 0.146 H 137.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#387913
RGBrgb(56, 121, 19)
HSLhsl(98, 73%, 27%)
HSVhsv(98, 84%, 47%)
CMYKcmyk(53.7%, 0%, 84.3%, 52.5%)
CIE-LABlab(45.03, -38.71, 44.99)
CIE-LCHlch(45.03, 59.35, 130.71°)
OKLaboklab(51.33% -0.1075 0.0993)
OKLCHoklch(51.33% 0.146 137.3)
XYZxyz(8.5855, 14.5619, 2.9743)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387913 #541379
analogous
#6B7913 #387913 #137921
triadic
#387913 #133879 #791338
tetradic
#387913 #136B79 #541379 #792113
square
#387913 #136B79 #541379 #792113
split-complementary
#387913 #211379 #79136B
monochromatic
#0C1A04 #20440B #387913 #50AE1B #6ADD29

Accessibility & contrast

On white

5.37
#387913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#387913 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387913
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387913#FFFFFF#000000##FFFFFF
##3879131.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#75691F
Tritanopia (blue-blind)
#347467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #387913;
/* rgb */ color: rgb(56, 121, 19);
/* oklch */ color: oklch(51.3% 0.146 137.3);
Tailwind
colors: {
  custom: {
    50: '#76a05b',
    500: '#387913',
    950: '#000000',
  },
}
SCSS
$custom: #387913;
$custom-light: #76a05b;
$custom-dark: #000000;
JSON
{
  "hex": "#387913",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 19
  },
  "hsl": {
    "h": 98.235,
    "s": 72.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51329,
    "c": 0.14635,
    "h": 137.3
  },
  "luminance": 0.14563
}

Semantic roles & 50–950 ramp

primary
#387913
secondary
#8439AF
accent
#38F0AD
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #387913

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

Preview Lab → · Contrast checker → · Palette generator →

#387913 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva