#387117#387117

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

Color values

HEX#387117
RGBrgb(56, 113, 23)
HSLhsl(98, 66%, 27%)
HSVhsv(98, 80%, 44%)
CMYKcmyk(50.4%, 0%, 79.6%, 55.7%)
CIE-LABlab(42.33, -35.15, 41.12)
CIE-LCHlch(42.33, 54.09, 130.52°)
OKLaboklab(49.11% -0.0977 0.0919)
OKLCHoklch(49.11% 0.134 136.8)
XYZxyz(7.6904, 12.7123, 2.8589)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387117 #501771
analogous
#657117 #387117 #177123
triadic
#387117 #173871 #711738
tetradic
#387117 #176571 #501771 #712317
square
#387117 #176571 #501771 #712317
split-complementary
#387117 #231771 #711765
monochromatic
#0D1905 #1F3E0D #387117 #51A421 #6BD42E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387117#FFFFFF#000000##FFFFFF
##3871171.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)
#756703
Deuteranopia (green-blind)
#6E6221
Tritanopia (blue-blind)
#356D60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #387117;
/* rgb */ color: rgb(56, 113, 23);
/* oklch */ color: oklch(49.1% 0.134 136.8);
Tailwind
colors: {
  custom: {
    50: '#759a5c',
    500: '#387117',
    950: '#000000',
  },
}
SCSS
$custom: #387117;
$custom-light: #759a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#387117",
  "rgb": {
    "r": 56,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 98,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49112,
    "c": 0.13408,
    "h": 136.8
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#387117
secondary
#803DA7
accent
#3FE9AB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387117

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

Preview Lab → · Contrast checker → · Palette generator →

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