#387313#387313

#387313 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.6% C 0.139 H 136.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#387313
RGBrgb(56, 115, 19)
HSLhsl(97, 72%, 26%)
HSVhsv(97, 83%, 45%)
CMYKcmyk(51.3%, 0%, 83.5%, 54.9%)
CIE-LABlab(42.99, -36.24, 43.10)
CIE-LCHlch(42.99, 56.31, 130.06°)
OKLaboklab(49.65% -0.1009 0.0954)
OKLCHoklch(49.65% 0.139 136.6)
XYZxyz(7.8789, 13.1487, 2.7387)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387313 #4E1373
analogous
#687313 #387313 #13731E
triadic
#387313 #133873 #731338
tetradic
#387313 #136873 #4E1373 #731E13
square
#387313 #136873 #4E1373 #731E13
split-complementary
#387313 #1E1373 #731368
monochromatic
#0D1A04 #1E3E0A #387313 #52A81C #6BDB25

Accessibility & contrast

On white

5.79
#387313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#387313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387313
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387313#FFFFFF#000000##FFFFFF
##3873131.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#356E61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #387313;
/* rgb */ color: rgb(56, 115, 19);
/* oklch */ color: oklch(49.6% 0.139 136.6);
Tailwind
colors: {
  custom: {
    50: '#759c5a',
    500: '#387313',
    950: '#000000',
  },
}
SCSS
$custom: #387313;
$custom-light: #759c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#387313",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 96.875,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49648,
    "c": 0.13882,
    "h": 136.6
  },
  "luminance": 0.13149
}

Semantic roles & 50–950 ramp

primary
#387313
secondary
#7E38AA
accent
#39EEA9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387313

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

Preview Lab → · Contrast checker → · Palette generator →

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