#337819#337819

#337819 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.144 H 138.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#337819
RGBrgb(51, 120, 25)
HSLhsl(104, 66%, 28%)
HSVhsv(104, 79%, 47%)
CMYKcmyk(57.5%, 0%, 79.2%, 52.9%)
CIE-LABlab(44.53, -39.45, 42.47)
CIE-LCHlch(44.53, 57.96, 132.89°)
OKLaboklab(50.87% -0.1088 0.0951)
OKLCHoklch(50.87% 0.144 138.9)
XYZxyz(8.2569, 14.2063, 3.2265)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337819 #5E1978
analogous
#627819 #337819 #19782E
triadic
#337819 #193378 #781933
tetradic
#337819 #196278 #5E1978 #782E19
square
#337819 #196278 #5E1978 #782E19
split-complementary
#337819 #2E1978 #781962
monochromatic
#0B1905 #1D450E #337819 #49AB24 #62D536

Accessibility & contrast

On white

5.47
#337819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#337819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337819
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337819#FFFFFF#000000##FFFFFF
##3378191.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#2C7466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #337819;
/* rgb */ color: rgb(51, 120, 25);
/* oklch */ color: oklch(50.9% 0.144 138.9);
Tailwind
colors: {
  custom: {
    50: '#73a05d',
    500: '#337819',
    950: '#000000',
  },
}
SCSS
$custom: #337819;
$custom-light: #73a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#337819",
  "rgb": {
    "r": 51,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 103.579,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50873,
    "c": 0.14446,
    "h": 138.9
  },
  "luminance": 0.14207
}

Semantic roles & 50–950 ramp

primary
#337819
secondary
#8F40AD
accent
#3FE8BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #337819

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

Preview Lab → · Contrast checker → · Palette generator →

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