#337D27#337D27

#337D27 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.142 H 141.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#337D27
RGBrgb(51, 125, 39)
HSLhsl(112, 52%, 32%)
HSVhsv(112, 69%, 49%)
CMYKcmyk(59.2%, 0%, 68.8%, 51%)
CIE-LABlab(46.33, -40.24, 38.65)
CIE-LCHlch(46.33, 55.80, 136.15°)
OKLaboklab(52.4% -0.11 0.089)
OKLCHoklch(52.4% 0.142 141)
XYZxyz(9.0646, 15.5167, 4.4364)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D27 #71277D
analogous
#5E7D27 #337D27 #277D46
triadic
#337D27 #27337D #7D2733
tetradic
#337D27 #275E7D #71277D #7D4627
square
#337D27 #275E7D #71277D #7D4627
split-complementary
#337D27 #46277D #7D275E
monochromatic
#0D200A #204E18 #337D27 #46AC36 #65CA55

Accessibility & contrast

On white

5.12
#337D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#337D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337D27
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D27#FFFFFF#000000##FFFFFF
##337D271.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721C
Deuteranopia (green-blind)
#776B2F
Tritanopia (blue-blind)
#29796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d27;
/* rgb */ color: rgb(51, 125, 39);
/* oklch */ color: oklch(52.4% 0.142 141.0);
Tailwind
colors: {
  custom: {
    50: '#73a366',
    500: '#337d27',
    950: '#000000',
  },
}
SCSS
$custom: #337d27;
$custom-light: #73a366;
$custom-dark: #000000;
JSON
{
  "hex": "#337d27",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 111.628,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52397,
    "c": 0.14152,
    "h": 141
  },
  "luminance": 0.15518
}

Semantic roles & 50–950 ramp

primary
#337D27
secondary
#A251AF
accent
#4CDCC8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337D27

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

Preview Lab → · Contrast checker → · Palette generator →

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