#337F1A#337F1A

#337F1A is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.153 H 139.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#337F1A
RGBrgb(51, 127, 26)
HSLhsl(105, 66%, 30%)
HSVhsv(105, 80%, 50%)
CMYKcmyk(59.8%, 0%, 79.5%, 50.2%)
CIE-LABlab(46.92, -42.12, 44.43)
CIE-LCHlch(46.92, 61.22, 133.47°)
OKLaboklab(52.85% -0.1159 0.0993)
OKLCHoklch(52.85% 0.153 139.4)
XYZxyz(9.1407, 15.9563, 3.5753)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F1A #661A7F
analogous
#657F1A #337F1A #1A7F34
triadic
#337F1A #1A337F #7F1A33
tetradic
#337F1A #1A657F #661A7F #7F341A
square
#337F1A #1A657F #661A7F #7F341A
split-complementary
#337F1A #341A7F #7F1A65
monochromatic
#0A1905 #1F4C10 #337F1A #47B224 #63D73C

Accessibility & contrast

On white

5.01
#337F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#337F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F1A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F1A#FFFFFF#000000##FFFFFF
##337F1A1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837302
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#2A7B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f1a;
/* rgb */ color: rgb(51, 127, 26);
/* oklch */ color: oklch(52.8% 0.153 139.4);
Tailwind
colors: {
  custom: {
    50: '#74a55f',
    500: '#337f1a',
    950: '#000000',
  },
}
SCSS
$custom: #337f1a;
$custom-light: #74a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#337f1a",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 105.149,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52848,
    "c": 0.15263,
    "h": 139.4
  },
  "luminance": 0.15957
}

Semantic roles & 50–950 ramp

primary
#337F1A
secondary
#9742B3
accent
#3FE9BF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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