#337C22#337C22

#337C22 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.1% C 0.144 H 140.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#337C22
RGBrgb(51, 124, 34)
HSLhsl(109, 57%, 31%)
HSVhsv(109, 73%, 49%)
CMYKcmyk(58.9%, 0%, 72.6%, 51.4%)
CIE-LABlab(45.95, -40.32, 40.40)
CIE-LCHlch(45.95, 57.08, 134.94°)
OKLaboklab(52.07% -0.1105 0.0921)
OKLCHoklch(52.07% 0.144 140.2)
XYZxyz(8.8612, 15.2338, 3.9865)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C22 #6B227C
analogous
#607C22 #337C22 #227C3E
triadic
#337C22 #22337C #7C2233
tetradic
#337C22 #22607C #6B227C #7C3E22
square
#337C22 #22607C #6B227C #7C3E22
split-complementary
#337C22 #3E227C #7C2260
monochromatic
#0B1C08 #1F4C15 #337C22 #47AC2F #64CE4B

Accessibility & contrast

On white

5.19
#337C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#337C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337C22
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337C22#FFFFFF#000000##FFFFFF
##337C221.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7114
Deuteranopia (green-blind)
#766B2B
Tritanopia (blue-blind)
#2A786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337c22;
/* rgb */ color: rgb(51, 124, 34);
/* oklch */ color: oklch(52.1% 0.144 140.2);
Tailwind
colors: {
  custom: {
    50: '#73a363',
    500: '#337c22',
    950: '#000000',
  },
}
SCSS
$custom: #337c22;
$custom-light: #73a363;
$custom-dark: #000000;
JSON
{
  "hex": "#337c22",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 108.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52069,
    "c": 0.14386,
    "h": 140.2
  },
  "luminance": 0.15235
}

Semantic roles & 50–950 ramp

primary
#337C22
secondary
#9C4BAF
accent
#48E0C3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #337C22

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

Preview Lab → · Contrast checker → · Palette generator →

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