#337B1E#337B1E

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

Color values

HEX#337B1E
RGBrgb(51, 123, 30)
HSLhsl(106, 61%, 30%)
HSVhsv(106, 76%, 48%)
CMYKcmyk(58.5%, 0%, 75.6%, 51.8%)
CIE-LABlab(45.58, -40.26, 41.64)
CIE-LCHlch(45.58, 57.92, 134.04°)
OKLaboklab(51.75% -0.1106 0.0941)
OKLCHoklch(51.75% 0.145 139.6)
XYZxyz(8.6822, 14.9627, 3.6586)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B1E #661E7B
analogous
#617B1E #337B1E #1E7B38
triadic
#337B1E #1E337B #7B1E33
tetradic
#337B1E #1E617B #661E7B #7B381E
square
#337B1E #1E617B #661E7B #7B381E
split-complementary
#337B1E #381E7B #7B1E61
monochromatic
#0A1906 #1F4A12 #337B1E #47AC2A #63D142

Accessibility & contrast

On white

5.26
#337B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#337B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B1E
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B1E#FFFFFF#000000##FFFFFF
##337B1E1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700D
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#2B7769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b1e;
/* rgb */ color: rgb(51, 123, 30);
/* oklch */ color: oklch(51.8% 0.145 139.6);
Tailwind
colors: {
  custom: {
    50: '#73a260',
    500: '#337b1e',
    950: '#000000',
  },
}
SCSS
$custom: #337b1e;
$custom-light: #73a260;
$custom-dark: #000000;
JSON
{
  "hex": "#337b1e",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 106.452,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.51754,
    "c": 0.14523,
    "h": 139.6
  },
  "luminance": 0.14963
}

Semantic roles & 50–950 ramp

primary
#337B1E
secondary
#9746AE
accent
#44E4C0
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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