#387717#387717

#387717 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 50.8% C 0.142 H 137.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#387717
RGBrgb(56, 119, 23)
HSLhsl(99, 68%, 28%)
HSVhsv(99, 81%, 47%)
CMYKcmyk(52.9%, 0%, 80.7%, 53.3%)
CIE-LABlab(44.37, -37.66, 43.08)
CIE-LCHlch(44.37, 57.22, 131.15°)
OKLaboklab(50.79% -0.1044 0.096)
OKLCHoklch(50.79% 0.142 137.4)
XYZxyz(8.3821, 14.0957, 3.0895)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387717 #561777
analogous
#687717 #387717 #177726
triadic
#387717 #173877 #771738
tetradic
#387717 #176877 #561777 #772617
square
#387717 #176877 #561777 #772617
split-complementary
#387717 #261777 #771768
monochromatic
#0C1A05 #20440D #387717 #50AA21 #6AD731

Accessibility & contrast

On white

5.50
#387717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#387717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387717
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387717#FFFFFF#000000##FFFFFF
##3877171.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#347365
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #387717;
/* rgb */ color: rgb(56, 119, 23);
/* oklch */ color: oklch(50.8% 0.142 137.4);
Tailwind
colors: {
  custom: {
    50: '#769f5c',
    500: '#387717',
    950: '#000000',
  },
}
SCSS
$custom: #387717;
$custom-light: #769f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#387717",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 99.375,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50793,
    "c": 0.14182,
    "h": 137.4
  },
  "luminance": 0.14096
}

Semantic roles & 50–950 ramp

primary
#387717
secondary
#863EAC
accent
#3DEAAF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387717

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

Preview Lab → · Contrast checker → · Palette generator →

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