#387917#387917

#387917 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.4% C 0.144 H 137.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#387917
RGBrgb(56, 121, 23)
HSLhsl(100, 68%, 28%)
HSVhsv(100, 81%, 47%)
CMYKcmyk(53.7%, 0%, 81%, 52.5%)
CIE-LABlab(45.05, -38.48, 43.73)
CIE-LCHlch(45.05, 58.25, 131.34°)
OKLaboklab(51.35% -0.1066 0.0973)
OKLCHoklch(51.35% 0.144 137.6)
XYZxyz(8.6226, 14.5767, 3.1697)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387917 #581779
analogous
#697917 #387917 #177927
triadic
#387917 #173879 #791738
tetradic
#387917 #176979 #581779 #792717
square
#387917 #176979 #581779 #792717
split-complementary
#387917 #271779 #791769
monochromatic
#0C1A05 #20460D #387917 #50AC21 #6AD832

Accessibility & contrast

On white

5.36
#387917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#387917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387917
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387917#FFFFFF#000000##FFFFFF
##3879171.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#337467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #387917;
/* rgb */ color: rgb(56, 121, 23);
/* oklch */ color: oklch(51.4% 0.144 137.6);
Tailwind
colors: {
  custom: {
    50: '#76a05d',
    500: '#387917',
    950: '#000000',
  },
}
SCSS
$custom: #387917;
$custom-light: #76a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#387917",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 99.796,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51353,
    "c": 0.14436,
    "h": 137.6
  },
  "luminance": 0.14577
}

Semantic roles & 50–950 ramp

primary
#387917
secondary
#883EAE
accent
#3DEBB0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #387917

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

Preview Lab → · Contrast checker → · Palette generator →

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