#337E22#337E22

#337E22 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.146 H 140.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#337E22
RGBrgb(51, 126, 34)
HSLhsl(109, 58%, 31%)
HSVhsv(109, 73%, 49%)
CMYKcmyk(59.5%, 0%, 73%, 50.6%)
CIE-LABlab(46.63, -41.11, 41.11)
CIE-LCHlch(46.63, 58.14, 135.00°)
OKLaboklab(52.63% -0.1127 0.0935)
OKLCHoklch(52.63% 0.146 140.3)
XYZxyz(9.1144, 15.7402, 4.0709)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E22 #6D227E
analogous
#617E22 #337E22 #227E3F
triadic
#337E22 #22337E #7E2233
tetradic
#337E22 #22617E #6D227E #7E3F22
square
#337E22 #22617E #6D227E #7E3F22
split-complementary
#337E22 #3F227E #7E2261
monochromatic
#0C1E08 #1F4E15 #337E22 #47AE2F #64CF4C

Accessibility & contrast

On white

5.06
#337E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#337E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337E22
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337E22#FFFFFF#000000##FFFFFF
##337E221.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817213
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#2A7A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337e22;
/* rgb */ color: rgb(51, 126, 34);
/* oklch */ color: oklch(52.6% 0.146 140.3);
Tailwind
colors: {
  custom: {
    50: '#74a463',
    500: '#337e22',
    950: '#000000',
  },
}
SCSS
$custom: #337e22;
$custom-light: #74a463;
$custom-dark: #000000;
JSON
{
  "hex": "#337e22",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 108.913,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52629,
    "c": 0.14644,
    "h": 140.3
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

primary
#337E22
secondary
#9E4BB1
accent
#47E1C4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #337E22

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

Preview Lab → · Contrast checker → · Palette generator →

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