#337D1B#337D1B

#337D1B is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.150 H 139.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#337D1B
RGBrgb(51, 125, 27)
HSLhsl(105, 64%, 30%)
HSVhsv(105, 78%, 49%)
CMYKcmyk(59.2%, 0%, 78.4%, 51%)
CIE-LABlab(46.24, -41.27, 43.42)
CIE-LCHlch(46.24, 59.91, 133.55°)
OKLaboklab(52.29% -0.1136 0.0974)
OKLCHoklch(52.29% 0.15 139.4)
XYZxyz(8.8963, 15.4494, 3.5499)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D1B #651B7D
analogous
#647D1B #337D1B #1B7D34
triadic
#337D1B #1B337D #7D1B33
tetradic
#337D1B #1B647D #651B7D #7D341B
square
#337D1B #1B647D #651B7D #7D341B
split-complementary
#337D1B #341B7D #7D1B64
monochromatic
#0A1905 #1E4B10 #337D1B #48AF26 #62D53D

Accessibility & contrast

On white

5.13
#337D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#337D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337D1B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D1B#FFFFFF#000000##FFFFFF
##337D1B1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817105
Deuteranopia (green-blind)
#786B26
Tritanopia (blue-blind)
#2B796A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d1b;
/* rgb */ color: rgb(51, 125, 27);
/* oklch */ color: oklch(52.3% 0.150 139.4);
Tailwind
colors: {
  custom: {
    50: '#74a35f',
    500: '#337d1b',
    950: '#000000',
  },
}
SCSS
$custom: #337d1b;
$custom-light: #74a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#337d1b",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 105.306,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52293,
    "c": 0.14958,
    "h": 139.4
  },
  "luminance": 0.1545
}

Semantic roles & 50–950 ramp

primary
#337D1B
secondary
#9643B1
accent
#40E7BF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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