#337D1C#337D1C

#337D1C is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.149 H 139.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#337D1C
RGBrgb(51, 125, 28)
HSLhsl(106, 63%, 30%)
HSVhsv(106, 78%, 49%)
CMYKcmyk(59.2%, 0%, 77.6%, 51%)
CIE-LABlab(46.25, -41.20, 43.07)
CIE-LCHlch(46.25, 59.60, 133.73°)
OKLaboklab(52.3% -0.1133 0.0968)
OKLCHoklch(52.3% 0.149 139.5)
XYZxyz(8.9081, 15.4541, 3.6119)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D1C #661C7D
analogous
#647D1C #337D1C #1C7D35
triadic
#337D1C #1C337D #7D1C33
tetradic
#337D1C #1C647D #661C7D #7D351C
square
#337D1C #1C647D #661C7D #7D351C
split-complementary
#337D1C #351C7D #7D1C64
monochromatic
#0A1906 #1F4B11 #337D1C #47AF27 #63D43F

Accessibility & contrast

On white

5.13
#337D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#337D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337D1C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D1C#FFFFFF#000000##FFFFFF
##337D1C1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817107
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#2B796A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d1c;
/* rgb */ color: rgb(51, 125, 28);
/* oklch */ color: oklch(52.3% 0.149 139.5);
Tailwind
colors: {
  custom: {
    50: '#74a360',
    500: '#337d1c',
    950: '#000000',
  },
}
SCSS
$custom: #337d1c;
$custom-light: #74a360;
$custom-dark: #000000;
JSON
{
  "hex": "#337d1c",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 105.773,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.52301,
    "c": 0.149,
    "h": 139.5
  },
  "luminance": 0.15455
}

Semantic roles & 50–950 ramp

primary
#337D1C
secondary
#9744B1
accent
#41E6BF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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