#337B22#337B22

#337B22 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.143 H 140.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#337B22
RGBrgb(51, 123, 34)
HSLhsl(109, 57%, 31%)
HSVhsv(109, 72%, 48%)
CMYKcmyk(58.5%, 0%, 72.4%, 51.8%)
CIE-LABlab(45.61, -39.92, 40.05)
CIE-LCHlch(45.61, 56.55, 134.91°)
OKLaboklab(51.79% -0.1095 0.0913)
OKLCHoklch(51.79% 0.143 140.2)
XYZxyz(8.7365, 14.9845, 3.9450)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B22 #6A227B
analogous
#5F7B22 #337B22 #227B3D
triadic
#337B22 #22337B #7B2233
tetradic
#337B22 #225F7B #6A227B #7B3D22
square
#337B22 #225F7B #6A227B #7B3D22
split-complementary
#337B22 #3D227B #7B225F
monochromatic
#0B1B07 #1F4B15 #337B22 #47AB2F #63CD4A

Accessibility & contrast

On white

5.25
#337B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#337B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B22
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B22#FFFFFF#000000##FFFFFF
##337B221.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7014
Deuteranopia (green-blind)
#756A2A
Tritanopia (blue-blind)
#2A7769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b22;
/* rgb */ color: rgb(51, 123, 34);
/* oklch */ color: oklch(51.8% 0.143 140.2);
Tailwind
colors: {
  custom: {
    50: '#73a263',
    500: '#337b22',
    950: '#000000',
  },
}
SCSS
$custom: #337b22;
$custom-light: #73a263;
$custom-dark: #000000;
JSON
{
  "hex": "#337b22",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 108.539,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51789,
    "c": 0.14256,
    "h": 140.2
  },
  "luminance": 0.14985
}

Semantic roles & 50–950 ramp

primary
#337B22
secondary
#9B4BAE
accent
#48E0C3
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #337B22

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

Preview Lab → · Contrast checker → · Palette generator →

#337B22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva