#387116#387116

#387116 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.1% C 0.135 H 136.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#387116
RGBrgb(56, 113, 22)
HSLhsl(98, 67%, 26%)
HSVhsv(98, 81%, 44%)
CMYKcmyk(50.4%, 0%, 80.5%, 55.7%)
CIE-LABlab(42.32, -35.21, 41.47)
CIE-LCHlch(42.32, 54.40, 130.34°)
OKLaboklab(49.11% -0.0979 0.0924)
OKLCHoklch(49.11% 0.135 136.7)
XYZxyz(7.6806, 12.7084, 2.8071)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387116 #4F1671
analogous
#667116 #387116 #167122
triadic
#387116 #163871 #711638
tetradic
#387116 #166671 #4F1671 #712216
square
#387116 #166671 #4F1671 #712216
split-complementary
#387116 #221671 #711666
monochromatic
#0D1A05 #1F3E0C #387116 #51A420 #6BD62C

Accessibility & contrast

On white

5.93
#387116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#387116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387116
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387116#FFFFFF#000000##FFFFFF
##3871161.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756701
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#356D60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #387116;
/* rgb */ color: rgb(56, 113, 22);
/* oklch */ color: oklch(49.1% 0.135 136.7);
Tailwind
colors: {
  custom: {
    50: '#759a5b',
    500: '#387116',
    950: '#000000',
  },
}
SCSS
$custom: #387116;
$custom-light: #759a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#387116",
  "rgb": {
    "r": 56,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 97.582,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49105,
    "c": 0.13465,
    "h": 136.7
  },
  "luminance": 0.12709
}

Semantic roles & 50–950 ramp

primary
#387116
secondary
#7F3CA7
accent
#3EEAAA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387116

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

Preview Lab → · Contrast checker → · Palette generator →

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