#337F19#337F19

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

Color values

HEX#337F19
RGBrgb(51, 127, 25)
HSLhsl(105, 67%, 30%)
HSVhsv(105, 80%, 50%)
CMYKcmyk(59.8%, 0%, 80.3%, 50.2%)
CIE-LABlab(46.91, -42.18, 44.77)
CIE-LCHlch(46.91, 61.51, 133.30°)
OKLaboklab(52.84% -0.1161 0.0999)
OKLCHoklch(52.84% 0.153 139.3)
XYZxyz(9.1297, 15.9519, 3.5174)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F19 #65197F
analogous
#667F19 #337F19 #197F32
triadic
#337F19 #19337F #7F1933
tetradic
#337F19 #19667F #65197F #7F3219
square
#337F19 #19667F #65197F #7F3219
split-complementary
#337F19 #32197F #7F1966
monochromatic
#0A1A05 #1E4C0F #337F19 #48B223 #62D83A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337F19#FFFFFF#000000##FFFFFF
##337F191.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)
#837300
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#2A7B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f19;
/* rgb */ color: rgb(51, 127, 25);
/* oklch */ color: oklch(52.8% 0.153 139.3);
Tailwind
colors: {
  custom: {
    50: '#74a55f',
    500: '#337f19',
    950: '#000000',
  },
}
SCSS
$custom: #337f19;
$custom-light: #74a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#337f19",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 104.706,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52841,
    "c": 0.15316,
    "h": 139.3
  },
  "luminance": 0.15953
}

Semantic roles & 50–950 ramp

primary
#337F19
secondary
#9641B3
accent
#3EEABE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337F19

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

Preview Lab → · Contrast checker → · Palette generator →

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