#337822#337822

#337822 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.139 H 140.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#337822
RGBrgb(51, 120, 34)
HSLhsl(108, 56%, 30%)
HSVhsv(108, 72%, 47%)
CMYKcmyk(57.5%, 0%, 71.7%, 52.9%)
CIE-LABlab(44.59, -38.72, 38.98)
CIE-LCHlch(44.59, 54.94, 134.81°)
OKLaboklab(50.95% -0.1062 0.0891)
OKLCHoklch(50.95% 0.139 140)
XYZxyz(8.3701, 14.2515, 3.8228)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337822 #672278
analogous
#5E7822 #337822 #22783C
triadic
#337822 #223378 #782233
tetradic
#337822 #225E78 #672278 #783C22
square
#337822 #225E78 #672278 #783C22
split-complementary
#337822 #3C2278 #78225E
monochromatic
#0A1907 #1F4814 #337822 #47A830 #63CB49

Accessibility & contrast

On white

5.45
#337822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#337822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337822
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337822#FFFFFF#000000##FFFFFF
##3378221.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D15
Deuteranopia (green-blind)
#73672A
Tritanopia (blue-blind)
#2B7467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #337822;
/* rgb */ color: rgb(51, 120, 34);
/* oklch */ color: oklch(50.9% 0.139 140.0);
Tailwind
colors: {
  custom: {
    50: '#73a062',
    500: '#337822',
    950: '#000000',
  },
}
SCSS
$custom: #337822;
$custom-light: #73a062;
$custom-dark: #000000;
JSON
{
  "hex": "#337822",
  "rgb": {
    "r": 51,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 108.14,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50946,
    "c": 0.13862,
    "h": 140
  },
  "luminance": 0.14252
}

Semantic roles & 50–950 ramp

primary
#337822
secondary
#984BAB
accent
#49DFC1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090F05
muted
#7B7E7A

Preview Lab

Preview with #337822

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

Preview Lab → · Contrast checker → · Palette generator →

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