#387216#387216

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

Color values

HEX#387216
RGBrgb(56, 114, 22)
HSLhsl(98, 68%, 27%)
HSVhsv(98, 81%, 45%)
CMYKcmyk(50.9%, 0%, 80.7%, 55.3%)
CIE-LABlab(42.66, -35.64, 41.80)
CIE-LCHlch(42.66, 54.93, 130.45°)
OKLaboklab(49.39% -0.0991 0.0931)
OKLCHoklch(49.39% 0.136 136.8)
XYZxyz(7.7928, 12.9328, 2.8445)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387216 #501672
analogous
#667216 #387216 #167222
triadic
#387216 #163872 #721638
tetradic
#387216 #166672 #501672 #722216
square
#387216 #166672 #501672 #722216
split-complementary
#387216 #221672 #721666
monochromatic
#0D1A05 #1F3F0C #387216 #51A520 #6BD62C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387216#FFFFFF#000000##FFFFFF
##3872161.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)
#766801
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#356E61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #387216;
/* rgb */ color: rgb(56, 114, 22);
/* oklch */ color: oklch(49.4% 0.136 136.8);
Tailwind
colors: {
  custom: {
    50: '#759b5b',
    500: '#387216',
    950: '#000000',
  },
}
SCSS
$custom: #387216;
$custom-light: #759b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#387216",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 97.826,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49386,
    "c": 0.13595,
    "h": 136.8
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

primary
#387216
secondary
#803CA8
accent
#3DEBAA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387216

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

Preview Lab → · Contrast checker → · Palette generator →

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