#337522#337522

#337522 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.1% C 0.135 H 139.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#337522
RGBrgb(51, 117, 34)
HSLhsl(108, 55%, 30%)
HSVhsv(108, 71%, 46%)
CMYKcmyk(56.4%, 0%, 70.9%, 54.1%)
CIE-LABlab(43.57, -37.50, 37.90)
CIE-LCHlch(43.57, 53.31, 134.70°)
OKLaboklab(50.1% -0.1029 0.0868)
OKLCHoklch(50.1% 0.135 139.9)
XYZxyz(8.0149, 13.5412, 3.7044)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337522 #642275
analogous
#5D7522 #337522 #22753B
triadic
#337522 #223375 #752233
tetradic
#337522 #225D75 #642275 #753B22
square
#337522 #225D75 #642275 #753B22
split-complementary
#337522 #3B2275 #75225D
monochromatic
#0A1807 #1E4614 #337522 #48A430 #62CA48

Accessibility & contrast

On white

5.66
#337522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#337522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337522
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337522#FFFFFF#000000##FFFFFF
##3375221.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A16
Deuteranopia (green-blind)
#70652A
Tritanopia (blue-blind)
#2C7164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #337522;
/* rgb */ color: rgb(51, 117, 34);
/* oklch */ color: oklch(50.1% 0.135 139.9);
Tailwind
colors: {
  custom: {
    50: '#729d62',
    500: '#337522',
    950: '#000000',
  },
}
SCSS
$custom: #337522;
$custom-light: #729d62;
$custom-dark: #000000;
JSON
{
  "hex": "#337522",
  "rgb": {
    "r": 51,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 107.711,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50103,
    "c": 0.13463,
    "h": 139.9
  },
  "luminance": 0.13542
}

Semantic roles & 50–950 ramp

primary
#337522
secondary
#954BA8
accent
#49DEC0
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #337522

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

Preview Lab → · Contrast checker → · Palette generator →

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