#337718#337718

#337718 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.144 H 138.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#337718
RGBrgb(51, 119, 24)
HSLhsl(103, 66%, 28%)
HSVhsv(103, 80%, 47%)
CMYKcmyk(57.1%, 0%, 79.8%, 53.3%)
CIE-LABlab(44.18, -39.12, 42.49)
CIE-LCHlch(44.18, 57.75, 132.64°)
OKLaboklab(50.58% -0.108 0.0949)
OKLCHoklch(50.58% 0.144 138.7)
XYZxyz(8.1266, 13.9627, 3.1308)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337718 #5C1877
analogous
#637718 #337718 #18772C
triadic
#337718 #183377 #771833
tetradic
#337718 #186377 #5C1877 #772C18
square
#337718 #186377 #5C1877 #772C18
split-complementary
#337718 #2C1877 #771863
monochromatic
#0B1905 #1D440E #337718 #49AA22 #62D633

Accessibility & contrast

On white

5.54
#337718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#337718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337718
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337718#FFFFFF#000000##FFFFFF
##3377181.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#2D7365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #337718;
/* rgb */ color: rgb(51, 119, 24);
/* oklch */ color: oklch(50.6% 0.144 138.7);
Tailwind
colors: {
  custom: {
    50: '#739f5d',
    500: '#337718',
    950: '#000000',
  },
}
SCSS
$custom: #337718;
$custom-light: #739f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#337718",
  "rgb": {
    "r": 51,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 102.947,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50584,
    "c": 0.14377,
    "h": 138.7
  },
  "luminance": 0.13963
}

Semantic roles & 50–950 ramp

primary
#337718
secondary
#8D3FAC
accent
#3EE9B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #337718

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

Preview Lab → · Contrast checker → · Palette generator →

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