#337F27#337F27

#337F27 is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.0% C 0.144 H 141.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#337F27
RGBrgb(51, 127, 39)
HSLhsl(112, 53%, 33%)
HSVhsv(112, 69%, 50%)
CMYKcmyk(59.8%, 0%, 69.3%, 50.2%)
CIE-LABlab(47.01, -41.03, 39.38)
CIE-LCHlch(47.01, 56.87, 136.18°)
OKLaboklab(52.96% -0.1122 0.0906)
OKLCHoklch(52.96% 0.144 141.1)
XYZxyz(9.3204, 16.0282, 4.5217)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F27 #73277F
analogous
#5F7F27 #337F27 #277F47
triadic
#337F27 #27337F #7F2733
tetradic
#337F27 #275F7F #73277F #7F4727
square
#337F27 #275F7F #73277F #7F4727
split-complementary
#337F27 #47277F #7F275F
monochromatic
#0D210A #205019 #337F27 #46AE35 #65CB55

Accessibility & contrast

On white

4.99
#337F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#337F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F27
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F27#FFFFFF#000000##FFFFFF
##337F271.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731B
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#287B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f27;
/* rgb */ color: rgb(51, 127, 39);
/* oklch */ color: oklch(53.0% 0.144 141.1);
Tailwind
colors: {
  custom: {
    50: '#74a566',
    500: '#337f27',
    950: '#000000',
  },
}
SCSS
$custom: #337f27;
$custom-light: #74a566;
$custom-dark: #000000;
JSON
{
  "hex": "#337f27",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 111.818,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52956,
    "c": 0.14416,
    "h": 141.1
  },
  "luminance": 0.16029
}

Semantic roles & 50–950 ramp

primary
#337F27
secondary
#A352B0
accent
#4BDCC9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337F27

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

Preview Lab → · Contrast checker → · Palette generator →

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