#337C27#337C27

#337C27 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.140 H 141.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#337C27
RGBrgb(51, 124, 39)
HSLhsl(112, 52%, 32%)
HSVhsv(112, 69%, 49%)
CMYKcmyk(58.9%, 0%, 68.5%, 51.4%)
CIE-LABlab(45.99, -39.84, 38.28)
CIE-LCHlch(45.99, 55.25, 136.14°)
OKLaboklab(52.12% -0.1089 0.0883)
OKLCHoklch(52.12% 0.14 141)
XYZxyz(8.9387, 15.2648, 4.3944)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C27 #70277C
analogous
#5E7C27 #337C27 #277C45
triadic
#337C27 #27337C #7C2733
tetradic
#337C27 #275E7C #70277C #7C4527
square
#337C27 #275E7C #70277C #7C4527
split-complementary
#337C27 #45277C #7C275E
monochromatic
#0D1F0A #204D18 #337C27 #46AB36 #65C954

Accessibility & contrast

On white

5.18
#337C27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#337C27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337C27
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337C27#FFFFFF#000000##FFFFFF
##337C271.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711C
Deuteranopia (green-blind)
#766B2F
Tritanopia (blue-blind)
#29786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337c27;
/* rgb */ color: rgb(51, 124, 39);
/* oklch */ color: oklch(52.1% 0.140 141.0);
Tailwind
colors: {
  custom: {
    50: '#73a365',
    500: '#337c27',
    950: '#000000',
  },
}
SCSS
$custom: #337c27;
$custom-light: #73a365;
$custom-dark: #000000;
JSON
{
  "hex": "#337c27",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 39
  },
  "hsl": {
    "h": 111.529,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52117,
    "c": 0.1402,
    "h": 141
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#337C27
secondary
#A151AE
accent
#4CDCC7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337C27

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

Preview Lab → · Contrast checker → · Palette generator →

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