#337C1B#337C1B

#337C1B is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.148 H 139.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#337C1B
RGBrgb(51, 124, 27)
HSLhsl(105, 64%, 30%)
HSVhsv(105, 78%, 49%)
CMYKcmyk(58.9%, 0%, 78.2%, 51.4%)
CIE-LABlab(45.90, -40.88, 43.09)
CIE-LCHlch(45.90, 59.40, 133.49°)
OKLaboklab(52.01% -0.1125 0.0967)
OKLCHoklch(52.01% 0.148 139.3)
XYZxyz(8.7704, 15.1975, 3.5079)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C1B #641B7C
analogous
#637C1B #337C1B #1B7C34
triadic
#337C1B #1B337C #7C1B33
tetradic
#337C1B #1B637C #641B7C #7C341B
square
#337C1B #1B637C #641B7C #7C341B
split-complementary
#337C1B #341B7C #7C1B63
monochromatic
#0A1905 #1E4A10 #337C1B #48AE26 #62D53D

Accessibility & contrast

On white

5.20
#337C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#337C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337C1B
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337C1B#FFFFFF#000000##FFFFFF
##337C1B1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807006
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#2B786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337c1b;
/* rgb */ color: rgb(51, 124, 27);
/* oklch */ color: oklch(52.0% 0.148 139.3);
Tailwind
colors: {
  custom: {
    50: '#74a35f',
    500: '#337c1b',
    950: '#000000',
  },
}
SCSS
$custom: #337c1b;
$custom-light: #74a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#337c1b",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 105.155,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52013,
    "c": 0.14834,
    "h": 139.3
  },
  "luminance": 0.15198
}

Semantic roles & 50–950 ramp

primary
#337C1B
secondary
#9543B0
accent
#41E7BE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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