#337E1B#337E1B

#337E1B is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.151 H 139.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#337E1B
RGBrgb(51, 126, 27)
HSLhsl(105, 65%, 30%)
HSVhsv(105, 79%, 49%)
CMYKcmyk(59.5%, 0%, 78.6%, 50.6%)
CIE-LABlab(46.58, -41.66, 43.76)
CIE-LCHlch(46.58, 60.42, 133.59°)
OKLaboklab(52.57% -0.1146 0.0981)
OKLCHoklch(52.57% 0.151 139.5)
XYZxyz(9.0235, 15.7039, 3.5923)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E1B #661B7E
analogous
#647E1B #337E1B #1B7E35
triadic
#337E1B #1B337E #7E1B33
tetradic
#337E1B #1B647E #661B7E #7E351B
square
#337E1B #1B647E #661B7E #7E351B
split-complementary
#337E1B #351B7E #7E1B64
monochromatic
#0A1905 #1F4C10 #337E1B #47B026 #63D63E

Accessibility & contrast

On white

5.07
#337E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#337E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337E1B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337E1B#FFFFFF#000000##FFFFFF
##337E1B1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827204
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#2A7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337e1b;
/* rgb */ color: rgb(51, 126, 27);
/* oklch */ color: oklch(52.6% 0.151 139.5);
Tailwind
colors: {
  custom: {
    50: '#74a45f',
    500: '#337e1b',
    950: '#000000',
  },
}
SCSS
$custom: #337e1b;
$custom-light: #74a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#337e1b",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 105.455,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52574,
    "c": 0.15083,
    "h": 139.5
  },
  "luminance": 0.15705
}

Semantic roles & 50–950 ramp

primary
#337E1B
secondary
#9743B2
accent
#40E8BF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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