#337E1C#337E1C

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

Color values

HEX#337E1C
RGBrgb(51, 126, 28)
HSLhsl(106, 64%, 30%)
HSVhsv(106, 78%, 49%)
CMYKcmyk(59.5%, 0%, 77.8%, 50.6%)
CIE-LABlab(46.59, -41.59, 43.40)
CIE-LCHlch(46.59, 60.11, 133.78°)
OKLaboklab(52.58% -0.1144 0.0975)
OKLCHoklch(52.58% 0.15 139.6)
XYZxyz(9.0353, 15.7086, 3.6543)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E1C #671C7E
analogous
#647E1C #337E1C #1C7E36
triadic
#337E1C #1C337E #7E1C33
tetradic
#337E1C #1C647E #671C7E #7E361C
square
#337E1C #1C647E #671C7E #7E361C
split-complementary
#337E1C #361C7E #7E1C64
monochromatic
#0A1A06 #1F4C11 #337E1C #47B027 #63D540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337E1C#FFFFFF#000000##FFFFFF
##337E1C1.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)
#827207
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#2A7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337e1c;
/* rgb */ color: rgb(51, 126, 28);
/* oklch */ color: oklch(52.6% 0.150 139.6);
Tailwind
colors: {
  custom: {
    50: '#74a460',
    500: '#337e1c',
    950: '#000000',
  },
}
SCSS
$custom: #337e1c;
$custom-light: #74a460;
$custom-dark: #000000;
JSON
{
  "hex": "#337e1c",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 105.918,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52581,
    "c": 0.15025,
    "h": 139.6
  },
  "luminance": 0.15709
}

Semantic roles & 50–950 ramp

primary
#337E1C
secondary
#9844B2
accent
#41E7C0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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