#337C1A#337C1A

#337C1A is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.149 H 139.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#337C1A
RGBrgb(51, 124, 26)
HSLhsl(105, 65%, 29%)
HSVhsv(105, 79%, 49%)
CMYKcmyk(58.9%, 0%, 79%, 51.4%)
CIE-LABlab(45.90, -40.95, 43.44)
CIE-LCHlch(45.90, 59.70, 133.31°)
OKLaboklab(52.01% -0.1128 0.0972)
OKLCHoklch(52.01% 0.149 139.2)
XYZxyz(8.7590, 15.1929, 3.4480)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C1A #631A7C
analogous
#647C1A #337C1A #1A7C32
triadic
#337C1A #1A337C #7C1A33
tetradic
#337C1A #1A647C #631A7C #7C321A
square
#337C1A #1A647C #631A7C #7C321A
split-complementary
#337C1A #321A7C #7C1A64
monochromatic
#0A1905 #1E490F #337C1A #48AF25 #62D63B

Accessibility & contrast

On white

5.20
#337C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#337C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337C1A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337C1A#FFFFFF#000000##FFFFFF
##337C1A1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807003
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#2B7869
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337c1a;
/* rgb */ color: rgb(51, 124, 26);
/* oklch */ color: oklch(52.0% 0.149 139.2);
Tailwind
colors: {
  custom: {
    50: '#74a35f',
    500: '#337c1a',
    950: '#000000',
  },
}
SCSS
$custom: #337c1a;
$custom-light: #74a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#337c1a",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 104.694,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52005,
    "c": 0.1489,
    "h": 139.2
  },
  "luminance": 0.15194
}

Semantic roles & 50–950 ramp

primary
#337C1A
secondary
#9442B0
accent
#40E8BD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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