#387915#387915

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

Color values

HEX#387915
RGBrgb(56, 121, 21)
HSLhsl(99, 70%, 28%)
HSVhsv(99, 83%, 47%)
CMYKcmyk(53.7%, 0%, 82.6%, 52.5%)
CIE-LABlab(45.04, -38.60, 44.38)
CIE-LCHlch(45.04, 58.81, 131.01°)
OKLaboklab(51.34% -0.1071 0.0984)
OKLCHoklch(51.34% 0.145 137.4)
XYZxyz(8.6033, 14.5690, 3.0681)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387915 #561579
analogous
#6A7915 #387915 #157924
triadic
#387915 #153879 #791538
tetradic
#387915 #156A79 #561579 #792415
square
#387915 #156A79 #561579 #792415
split-complementary
#387915 #241579 #79156A
monochromatic
#0C1A05 #20450C #387915 #50AD1E #6ADB2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387915#FFFFFF#000000##FFFFFF
##3879151.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)
#756921
Tritanopia (blue-blind)
#337467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #387915;
/* rgb */ color: rgb(56, 121, 21);
/* oklch */ color: oklch(51.3% 0.145 137.4);
Tailwind
colors: {
  custom: {
    50: '#76a05c',
    500: '#387915',
    950: '#000000',
  },
}
SCSS
$custom: #387915;
$custom-light: #76a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#387915",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 99,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5134,
    "c": 0.1454,
    "h": 137.4
  },
  "luminance": 0.1457
}

Semantic roles & 50–950 ramp

primary
#387915
secondary
#863BAF
accent
#3BEDAF
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #387915

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

Preview Lab → · Contrast checker → · Palette generator →

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