#387617#387617

#387617 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.5% C 0.141 H 137.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#387617
RGBrgb(56, 118, 23)
HSLhsl(99, 67%, 28%)
HSVhsv(99, 81%, 46%)
CMYKcmyk(52.5%, 0%, 80.5%, 53.7%)
CIE-LABlab(44.03, -37.25, 42.76)
CIE-LCHlch(44.03, 56.71, 131.06°)
OKLaboklab(50.51% -0.1033 0.0953)
OKLCHoklch(50.51% 0.141 137.3)
XYZxyz(8.2637, 13.8589, 3.0500)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387617 #551776
analogous
#677617 #387617 #177626
triadic
#387617 #173876 #761738
tetradic
#387617 #176776 #551776 #762617
square
#387617 #176776 #551776 #762617
split-complementary
#387617 #261776 #761767
monochromatic
#0C1A05 #20430D #387617 #50A921 #6AD731

Accessibility & contrast

On white

5.57
#387617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#387617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387617
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387617#FFFFFF#000000##FFFFFF
##3876171.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#347264
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #387617;
/* rgb */ color: rgb(56, 118, 23);
/* oklch */ color: oklch(50.5% 0.141 137.3);
Tailwind
colors: {
  custom: {
    50: '#769e5c',
    500: '#387617',
    950: '#000000',
  },
}
SCSS
$custom: #387617;
$custom-light: #769e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#387617",
  "rgb": {
    "r": 56,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 99.158,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50514,
    "c": 0.14055,
    "h": 137.3
  },
  "luminance": 0.13859
}

Semantic roles & 50–950 ramp

primary
#387617
secondary
#853EAB
accent
#3EEAAE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387617

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

Preview Lab → · Contrast checker → · Palette generator →

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