#337A23#337A23

#337A23 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.141 H 140.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#337A23
RGBrgb(51, 122, 35)
HSLhsl(109, 55%, 31%)
HSVhsv(109, 71%, 48%)
CMYKcmyk(58.2%, 0%, 71.3%, 52.2%)
CIE-LABlab(45.28, -39.43, 39.28)
CIE-LCHlch(45.28, 55.65, 135.11°)
OKLaboklab(51.52% -0.1081 0.0898)
OKLCHoklch(51.52% 0.141 140.3)
XYZxyz(8.6278, 14.7435, 3.9809)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A23 #6A237A
analogous
#5E7A23 #337A23 #237A3F
triadic
#337A23 #23337A #7A2333
tetradic
#337A23 #235E7A #6A237A #7A3F23
square
#337A23 #235E7A #6A237A #7A3F23
split-complementary
#337A23 #3F237A #7A235E
monochromatic
#0B1B08 #1F4A15 #337A23 #47AA31 #63CC4C

Accessibility & contrast

On white

5.32
#337A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#337A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A23
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A23#FFFFFF#000000##FFFFFF
##337A231.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F16
Deuteranopia (green-blind)
#74692B
Tritanopia (blue-blind)
#2A7668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a23;
/* rgb */ color: rgb(51, 122, 35);
/* oklch */ color: oklch(51.5% 0.141 140.3);
Tailwind
colors: {
  custom: {
    50: '#73a163',
    500: '#337a23',
    950: '#000000',
  },
}
SCSS
$custom: #337a23;
$custom-light: #73a163;
$custom-dark: #000000;
JSON
{
  "hex": "#337a23",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 108.966,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51517,
    "c": 0.14054,
    "h": 140.3
  },
  "luminance": 0.14744
}

Semantic roles & 50–950 ramp

primary
#337A23
secondary
#9B4CAD
accent
#49DFC3
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #337A23

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

Preview Lab → · Contrast checker → · Palette generator →

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