#387516#387516

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

Color values

HEX#387516
RGBrgb(56, 117, 22)
HSLhsl(99, 68%, 27%)
HSVhsv(99, 81%, 46%)
CMYKcmyk(52.1%, 0%, 81.2%, 54.1%)
CIE-LABlab(43.68, -36.89, 42.77)
CIE-LCHlch(43.68, 56.49, 130.78°)
OKLaboklab(50.23% -0.1024 0.0952)
OKLCHoklch(50.23% 0.14 137.1)
XYZxyz(8.1367, 13.6207, 2.9592)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387516 #531675
analogous
#687516 #387516 #167523
triadic
#387516 #163875 #751638
tetradic
#387516 #166875 #531675 #752316
square
#387516 #166875 #531675 #752316
split-complementary
#387516 #231675 #751668
monochromatic
#0C1A05 #1F410C #387516 #51A920 #6BD82E

Accessibility & contrast

On white

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

On black

3.72
#387516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##387516#FFFFFF#000000##FFFFFF
##3875161.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #387516;
/* rgb */ color: rgb(56, 117, 22);
/* oklch */ color: oklch(50.2% 0.140 137.1);
Tailwind
colors: {
  custom: {
    50: '#769d5c',
    500: '#387516',
    950: '#000000',
  },
}
SCSS
$custom: #387516;
$custom-light: #769d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#387516",
  "rgb": {
    "r": 56,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 98.526,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50227,
    "c": 0.13981,
    "h": 137.1
  },
  "luminance": 0.13621
}

Semantic roles & 50–950 ramp

primary
#387516
secondary
#833CAB
accent
#3DEBAD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387516

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

Preview Lab → · Contrast checker → · Palette generator →

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