#387517#387517

#387517 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.2% C 0.139 H 137.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#387517
RGBrgb(56, 117, 23)
HSLhsl(99, 67%, 27%)
HSVhsv(99, 80%, 46%)
CMYKcmyk(52.1%, 0%, 80.3%, 54.1%)
CIE-LABlab(43.69, -36.83, 42.43)
CIE-LCHlch(43.69, 56.19, 130.96°)
OKLaboklab(50.23% -0.1022 0.0946)
OKLCHoklch(50.23% 0.139 137.2)
XYZxyz(8.1466, 13.6246, 3.0110)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387517 #541775
analogous
#677517 #387517 #177525
triadic
#387517 #173875 #751738
tetradic
#387517 #176775 #541775 #752517
square
#387517 #176775 #541775 #752517
split-complementary
#387517 #251775 #751767
monochromatic
#0C1A05 #20420D #387517 #50A821 #6AD630

Accessibility & contrast

On white

5.64
#387517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#387517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387517
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387517#FFFFFF#000000##FFFFFF
##3875171.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A01
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#347163
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #387517;
/* rgb */ color: rgb(56, 117, 23);
/* oklch */ color: oklch(50.2% 0.139 137.2);
Tailwind
colors: {
  custom: {
    50: '#759d5c',
    500: '#387517',
    950: '#000000',
  },
}
SCSS
$custom: #387517;
$custom-light: #759d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#387517",
  "rgb": {
    "r": 56,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 98.936,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50234,
    "c": 0.13926,
    "h": 137.2
  },
  "luminance": 0.13625
}

Semantic roles & 50–950 ramp

primary
#387517
secondary
#843DAA
accent
#3EEAAE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387517

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

Preview Lab → · Contrast checker → · Palette generator →

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