#337C1F#337C1F

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

Color values

HEX#337C1F
RGBrgb(51, 124, 31)
HSLhsl(107, 60%, 30%)
HSVhsv(107, 75%, 49%)
CMYKcmyk(58.9%, 0%, 75%, 51.4%)
CIE-LABlab(45.93, -40.58, 41.60)
CIE-LCHlch(45.93, 58.11, 134.29°)
OKLaboklab(52.04% -0.1114 0.0941)
OKLCHoklch(52.04% 0.146 139.8)
XYZxyz(8.8198, 15.2173, 3.7685)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C1F #681F7C
analogous
#617C1F #337C1F #1F7C3A
triadic
#337C1F #1F337C #7C1F33
tetradic
#337C1F #1F617C #681F7C #7C3A1F
square
#337C1F #1F617C #681F7C #7C3A1F
split-complementary
#337C1F #3A1F7C #7C1F61
monochromatic
#0B1A07 #1F4B13 #337C1F #47AD2B #63D045

Accessibility & contrast

On white

5.19
#337C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337C1F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337C1F#FFFFFF#000000##FFFFFF
##337C1F1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710F
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#2A786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337c1f;
/* rgb */ color: rgb(51, 124, 31);
/* oklch */ color: oklch(52.0% 0.146 139.8);
Tailwind
colors: {
  custom: {
    50: '#74a361',
    500: '#337c1f',
    950: '#000000',
  },
}
SCSS
$custom: #337c1f;
$custom-light: #74a361;
$custom-dark: #000000;
JSON
{
  "hex": "#337c1f",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 107.097,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52043,
    "c": 0.14587,
    "h": 139.8
  },
  "luminance": 0.15218
}

Semantic roles & 50–950 ramp

primary
#337C1F
secondary
#9948AF
accent
#45E3C1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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