#337C1C#337C1C

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

Color values

HEX#337C1C
RGBrgb(51, 124, 28)
HSLhsl(106, 63%, 30%)
HSVhsv(106, 77%, 49%)
CMYKcmyk(58.9%, 0%, 77.4%, 51.4%)
CIE-LABlab(45.91, -40.81, 42.73)
CIE-LCHlch(45.91, 59.09, 133.68°)
OKLaboklab(52.02% -0.1123 0.0961)
OKLCHoklch(52.02% 0.148 139.4)
XYZxyz(8.7821, 15.2022, 3.5699)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C1C #651C7C
analogous
#637C1C #337C1C #1C7C35
triadic
#337C1C #1C337C #7C1C33
tetradic
#337C1C #1C637C #651C7C #7C351C
square
#337C1C #1C637C #651C7C #7C351C
split-complementary
#337C1C #351C7C #7C1C63
monochromatic
#0A1906 #1E4A11 #337C1C #48AE27 #62D43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337C1C#FFFFFF#000000##FFFFFF
##337C1C1.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)
#807008
Deuteranopia (green-blind)
#776A26
Tritanopia (blue-blind)
#2B786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337c1c;
/* rgb */ color: rgb(51, 124, 28);
/* oklch */ color: oklch(52.0% 0.148 139.4);
Tailwind
colors: {
  custom: {
    50: '#74a35f',
    500: '#337c1c',
    950: '#000000',
  },
}
SCSS
$custom: #337c1c;
$custom-light: #74a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#337c1c",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 105.625,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5202,
    "c": 0.14774,
    "h": 139.4
  },
  "luminance": 0.15203
}

Semantic roles & 50–950 ramp

primary
#337C1C
secondary
#9644B0
accent
#42E6BF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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