#337D22#337D22

#337D22 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.145 H 140.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#337D22
RGBrgb(51, 125, 34)
HSLhsl(109, 57%, 31%)
HSVhsv(109, 73%, 49%)
CMYKcmyk(59.2%, 0%, 72.8%, 51%)
CIE-LABlab(46.29, -40.71, 40.76)
CIE-LCHlch(46.29, 57.61, 134.97°)
OKLaboklab(52.35% -0.1116 0.0928)
OKLCHoklch(52.35% 0.145 140.3)
XYZxyz(8.9872, 15.4858, 4.0285)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D22 #6C227D
analogous
#607D22 #337D22 #227D3E
triadic
#337D22 #22337D #7D2233
tetradic
#337D22 #22607D #6C227D #7D3E22
square
#337D22 #22607D #6C227D #7D3E22
split-complementary
#337D22 #3E227D #7D2260
monochromatic
#0C1D08 #1F4D15 #337D22 #47AD2F #64CE4B

Accessibility & contrast

On white

5.13
#337D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#337D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337D22
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D22#FFFFFF#000000##FFFFFF
##337D221.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#2A796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d22;
/* rgb */ color: rgb(51, 125, 34);
/* oklch */ color: oklch(52.3% 0.145 140.3);
Tailwind
colors: {
  custom: {
    50: '#74a363',
    500: '#337d22',
    950: '#000000',
  },
}
SCSS
$custom: #337d22;
$custom-light: #74a363;
$custom-dark: #000000;
JSON
{
  "hex": "#337d22",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 108.791,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52349,
    "c": 0.14515,
    "h": 140.3
  },
  "luminance": 0.15487
}

Semantic roles & 50–950 ramp

primary
#337D22
secondary
#9D4BB0
accent
#47E0C4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #337D22

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

Preview Lab → · Contrast checker → · Palette generator →

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