#337922#337922

#337922 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.140 H 140.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#337922
RGBrgb(51, 121, 34)
HSLhsl(108, 56%, 30%)
HSVhsv(108, 72%, 47%)
CMYKcmyk(57.9%, 0%, 71.9%, 52.5%)
CIE-LABlab(44.93, -39.12, 39.34)
CIE-LCHlch(44.93, 55.48, 134.84°)
OKLaboklab(51.23% -0.1073 0.0898)
OKLCHoklch(51.23% 0.14 140.1)
XYZxyz(8.4910, 14.4933, 3.8631)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337922 #682279
analogous
#5E7922 #337922 #22793C
triadic
#337922 #223379 #792233
tetradic
#337922 #225E79 #682279 #793C22
square
#337922 #225E79 #682279 #793C22
split-complementary
#337922 #3C2279 #79225E
monochromatic
#0B1907 #1F4915 #337922 #47A92F #63CC49

Accessibility & contrast

On white

5.39
#337922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#337922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337922
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337922#FFFFFF#000000##FFFFFF
##3379221.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E15
Deuteranopia (green-blind)
#74682A
Tritanopia (blue-blind)
#2B7568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #337922;
/* rgb */ color: rgb(51, 121, 34);
/* oklch */ color: oklch(51.2% 0.140 140.1);
Tailwind
colors: {
  custom: {
    50: '#73a062',
    500: '#337922',
    950: '#000000',
  },
}
SCSS
$custom: #337922;
$custom-light: #73a062;
$custom-dark: #000000;
JSON
{
  "hex": "#337922",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 108.276,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51227,
    "c": 0.13994,
    "h": 140.1
  },
  "luminance": 0.14494
}

Semantic roles & 50–950 ramp

primary
#337922
secondary
#994BAC
accent
#48DFC2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090F05
muted
#7B7E7A

Preview Lab

Preview with #337922

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

Preview Lab → · Contrast checker → · Palette generator →

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