#337B1B#337B1B

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

Color values

HEX#337B1B
RGBrgb(51, 123, 27)
HSLhsl(105, 64%, 29%)
HSVhsv(105, 78%, 48%)
CMYKcmyk(58.5%, 0%, 78%, 51.8%)
CIE-LABlab(45.56, -40.49, 42.76)
CIE-LCHlch(45.56, 58.89, 133.44°)
OKLaboklab(51.73% -0.1115 0.096)
OKLCHoklch(51.73% 0.147 139.3)
XYZxyz(8.6457, 14.9481, 3.4664)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B1B #631B7B
analogous
#637B1B #337B1B #1B7B33
triadic
#337B1B #1B337B #7B1B33
tetradic
#337B1B #1B637B #631B7B #7B331B
square
#337B1B #1B637B #631B7B #7B331B
split-complementary
#337B1B #331B7B #7B1B63
monochromatic
#0A1906 #1E4910 #337B1B #48AD26 #62D43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337B1B#FFFFFF#000000##FFFFFF
##337B1B1.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)
#7F7006
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#2B7769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b1b;
/* rgb */ color: rgb(51, 123, 27);
/* oklch */ color: oklch(51.7% 0.147 139.3);
Tailwind
colors: {
  custom: {
    50: '#74a25f',
    500: '#337b1b',
    950: '#000000',
  },
}
SCSS
$custom: #337b1b;
$custom-light: #74a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#337b1b",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 105,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51732,
    "c": 0.14708,
    "h": 139.3
  },
  "luminance": 0.14949
}

Semantic roles & 50–950 ramp

primary
#337B1B
secondary
#9443AF
accent
#41E7BD
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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