#337A24#337A24

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

Color values

HEX#337A24
RGBrgb(51, 122, 36)
HSLhsl(110, 54%, 31%)
HSVhsv(110, 70%, 48%)
CMYKcmyk(58.2%, 0%, 70.5%, 52.2%)
CIE-LABlab(45.29, -39.34, 38.85)
CIE-LCHlch(45.29, 55.29, 135.35°)
OKLaboklab(51.53% -0.1078 0.0891)
OKLCHoklch(51.53% 0.14 140.4)
XYZxyz(8.6428, 14.7495, 4.0602)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A24 #6B247A
analogous
#5E7A24 #337A24 #247A40
triadic
#337A24 #24337A #7A2433
tetradic
#337A24 #245E7A #6B247A #7A4024
square
#337A24 #245E7A #6B247A #7A4024
split-complementary
#337A24 #40247A #7A245E
monochromatic
#0B1B08 #1F4B16 #337A24 #47A932 #64CB4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337A24#FFFFFF#000000##FFFFFF
##337A241.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)
#7D6F18
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#2A7669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a24;
/* rgb */ color: rgb(51, 122, 36);
/* oklch */ color: oklch(51.5% 0.140 140.4);
Tailwind
colors: {
  custom: {
    50: '#73a164',
    500: '#337a24',
    950: '#000000',
  },
}
SCSS
$custom: #337a24;
$custom-light: #73a164;
$custom-dark: #000000;
JSON
{
  "hex": "#337a24",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 36
  },
  "hsl": {
    "h": 109.535,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51527,
    "c": 0.1398,
    "h": 140.4
  },
  "luminance": 0.1475
}

Semantic roles & 50–950 ramp

primary
#337A24
secondary
#9C4DAC
accent
#4ADEC4
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337A24

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

Preview Lab → · Contrast checker → · Palette generator →

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