#387513#387513

#387513 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.2% C 0.141 H 136.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#387513
RGBrgb(56, 117, 19)
HSLhsl(97, 72%, 27%)
HSVhsv(97, 84%, 46%)
CMYKcmyk(52.1%, 0%, 83.8%, 54.1%)
CIE-LABlab(43.67, -37.07, 43.73)
CIE-LCHlch(43.67, 57.33, 130.29°)
OKLaboklab(50.21% -0.1031 0.0967)
OKLCHoklch(50.21% 0.141 136.8)
XYZxyz(8.1095, 13.6098, 2.8156)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387513 #501375
analogous
#697513 #387513 #13751F
triadic
#387513 #133875 #751338
tetradic
#387513 #136975 #501375 #751F13
square
#387513 #136975 #501375 #751F13
split-complementary
#387513 #1F1375 #751369
monochromatic
#0D1A04 #1F400A #387513 #51AA1C #6BDC27

Accessibility & contrast

On white

5.64
#387513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#387513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387513
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387513#FFFFFF#000000##FFFFFF
##3875131.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#347063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #387513;
/* rgb */ color: rgb(56, 117, 19);
/* oklch */ color: oklch(50.2% 0.141 136.8);
Tailwind
colors: {
  custom: {
    50: '#769d5a',
    500: '#387513',
    950: '#000000',
  },
}
SCSS
$custom: #387513;
$custom-light: #769d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#387513",
  "rgb": {
    "r": 56,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 97.347,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50209,
    "c": 0.14135,
    "h": 136.8
  },
  "luminance": 0.1361
}

Semantic roles & 50–950 ramp

primary
#387513
secondary
#8038AB
accent
#39EFAA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387513

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

Preview Lab → · Contrast checker → · Palette generator →

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