#337A27#337A27

#337A27 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.138 H 140.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#337A27
RGBrgb(51, 122, 39)
HSLhsl(111, 52%, 32%)
HSVhsv(111, 68%, 48%)
CMYKcmyk(58.2%, 0%, 68%, 52.2%)
CIE-LABlab(45.32, -39.04, 37.55)
CIE-LCHlch(45.32, 54.16, 136.11°)
OKLaboklab(51.56% -0.1068 0.0867)
OKLCHoklch(51.56% 0.138 140.9)
XYZxyz(8.6906, 14.7686, 4.3117)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A27 #6E277A
analogous
#5D7A27 #337A27 #277A45
triadic
#337A27 #27337A #7A2733
tetradic
#337A27 #275D7A #6E277A #7A4527
square
#337A27 #275D7A #6E277A #7A4527
split-complementary
#337A27 #45277A #7A275D
monochromatic
#0C1D09 #204C18 #337A27 #46A836 #64C853

Accessibility & contrast

On white

5.31
#337A27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337A27
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A27#FFFFFF#000000##FFFFFF
##337A271.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1C
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#2A7669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a27;
/* rgb */ color: rgb(51, 122, 39);
/* oklch */ color: oklch(51.6% 0.138 140.9);
Tailwind
colors: {
  custom: {
    50: '#73a165',
    500: '#337a27',
    950: '#000000',
  },
}
SCSS
$custom: #337a27;
$custom-light: #73a165;
$custom-dark: #000000;
JSON
{
  "hex": "#337a27",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 39
  },
  "hsl": {
    "h": 111.325,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51557,
    "c": 0.13752,
    "h": 140.9
  },
  "luminance": 0.14769
}

Semantic roles & 50–950 ramp

primary
#337A27
secondary
#9F51AC
accent
#4DDBC6
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337A27

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

Preview Lab → · Contrast checker → · Palette generator →

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