#387215#387215

#387215 is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.4% C 0.137 H 136.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#387215
RGBrgb(56, 114, 21)
HSLhsl(97, 69%, 26%)
HSVhsv(97, 82%, 45%)
CMYKcmyk(50.9%, 0%, 81.6%, 55.3%)
CIE-LABlab(42.66, -35.70, 42.14)
CIE-LCHlch(42.66, 55.23, 130.28°)
OKLaboklab(49.38% -0.0993 0.0937)
OKLCHoklch(49.38% 0.137 136.7)
XYZxyz(7.7833, 12.9290, 2.7947)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387215 #4F1572
analogous
#677215 #387215 #157220
triadic
#387215 #153872 #721538
tetradic
#387215 #156772 #4F1572 #722015
square
#387215 #156772 #4F1572 #722015
split-complementary
#387215 #201572 #721567
monochromatic
#0D1A05 #1F3E0B #387215 #51A61F #6BD82A

Accessibility & contrast

On white

5.86
#387215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#387215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387215
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387215#FFFFFF#000000##FFFFFF
##3872151.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#356E61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #387215;
/* rgb */ color: rgb(56, 114, 21);
/* oklch */ color: oklch(49.4% 0.137 136.7);
Tailwind
colors: {
  custom: {
    50: '#759b5b',
    500: '#387215',
    950: '#000000',
  },
}
SCSS
$custom: #387215;
$custom-light: #759b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#387215",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 97.419,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49379,
    "c": 0.1365,
    "h": 136.7
  },
  "luminance": 0.1293
}

Semantic roles & 50–950 ramp

primary
#387215
secondary
#7F3BA8
accent
#3CECAA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387215

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

Preview Lab → · Contrast checker → · Palette generator →

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