#387417#387417

#387417 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.0% C 0.138 H 137.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#387417
RGBrgb(56, 116, 23)
HSLhsl(99, 67%, 27%)
HSVhsv(99, 80%, 45%)
CMYKcmyk(51.7%, 0%, 80.2%, 54.5%)
CIE-LABlab(43.35, -36.41, 42.11)
CIE-LCHlch(43.35, 55.67, 130.85°)
OKLaboklab(49.95% -0.1011 0.0939)
OKLCHoklch(49.95% 0.138 137.1)
XYZxyz(8.0307, 13.3928, 2.9723)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387417 #531774
analogous
#667417 #387417 #177425
triadic
#387417 #173874 #741738
tetradic
#387417 #176674 #531774 #742517
square
#387417 #176674 #531774 #742517
split-complementary
#387417 #251774 #741766
monochromatic
#0C1A05 #1F410D #387417 #51A721 #6BD630

Accessibility & contrast

On white

5.71
#387417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#387417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387417
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387417#FFFFFF#000000##FFFFFF
##3874171.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A02
Deuteranopia (green-blind)
#706521
Tritanopia (blue-blind)
#347063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #387417;
/* rgb */ color: rgb(56, 116, 23);
/* oklch */ color: oklch(50.0% 0.138 137.1);
Tailwind
colors: {
  custom: {
    50: '#759c5c',
    500: '#387417',
    950: '#000000',
  },
}
SCSS
$custom: #387417;
$custom-light: #759c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#387417",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 98.71,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49953,
    "c": 0.13797,
    "h": 137.1
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#387417
secondary
#833DA9
accent
#3EEAAD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387417

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

Preview Lab → · Contrast checker → · Palette generator →

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