#337B14#337B14

#337B14 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.151 H 138.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#337B14
RGBrgb(51, 123, 20)
HSLhsl(102, 72%, 28%)
HSVhsv(102, 84%, 48%)
CMYKcmyk(58.5%, 0%, 83.7%, 51.8%)
CIE-LABlab(45.52, -40.94, 45.07)
CIE-LCHlch(45.52, 60.89, 132.25°)
OKLaboklab(51.69% -0.1131 0.0997)
OKLCHoklch(51.69% 0.151 138.6)
XYZxyz(8.5741, 14.9195, 3.0896)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B14 #5C147B
analogous
#667B14 #337B14 #147B29
triadic
#337B14 #14337B #7B1433
tetradic
#337B14 #14667B #5C147B #7B2914
square
#337B14 #14667B #5C147B #7B2914
split-complementary
#337B14 #29147B #7B1466
monochromatic
#0B1A04 #1D460B #337B14 #49B01D #62DD2D

Accessibility & contrast

On white

5.27
#337B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#337B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B14
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B14#FFFFFF#000000##FFFFFF
##337B141.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#2C7668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b14;
/* rgb */ color: rgb(51, 123, 20);
/* oklch */ color: oklch(51.7% 0.151 138.6);
Tailwind
colors: {
  custom: {
    50: '#74a25c',
    500: '#337b14',
    950: '#000000',
  },
}
SCSS
$custom: #337b14;
$custom-light: #74a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#337b14",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 101.942,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51687,
    "c": 0.15078,
    "h": 138.6
  },
  "luminance": 0.1492
}

Semantic roles & 50–950 ramp

primary
#337B14
secondary
#8D3AB1
accent
#39EFB8
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #337B14

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

Preview Lab → · Contrast checker → · Palette generator →

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