#337F1E#337F1E

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

Color values

HEX#337F1E
RGBrgb(51, 127, 30)
HSLhsl(107, 62%, 31%)
HSVhsv(107, 76%, 50%)
CMYKcmyk(59.8%, 0%, 76.4%, 50.2%)
CIE-LABlab(46.94, -41.83, 43.01)
CIE-LCHlch(46.94, 59.99, 134.20°)
OKLaboklab(52.88% -0.1149 0.0969)
OKLCHoklch(52.88% 0.15 139.8)
XYZxyz(9.1886, 15.9755, 3.8274)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F1E #6A1E7F
analogous
#637F1E #337F1E #1E7F39
triadic
#337F1E #1E337F #7F1E33
tetradic
#337F1E #1E637F #6A1E7F #7F391E
square
#337F1E #1E637F #6A1E7F #7F391E
split-complementary
#337F1E #391E7F #7F1E63
monochromatic
#0B1C07 #1F4D12 #337F1E #47B12A #63D344

Accessibility & contrast

On white

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

On black

4.20
#337F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##337F1E#FFFFFF#000000##FFFFFF
##337F1E1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730B
Deuteranopia (green-blind)
#796D28
Tritanopia (blue-blind)
#2A7B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f1e;
/* rgb */ color: rgb(51, 127, 30);
/* oklch */ color: oklch(52.9% 0.150 139.8);
Tailwind
colors: {
  custom: {
    50: '#74a561',
    500: '#337f1e',
    950: '#000000',
  },
}
SCSS
$custom: #337f1e;
$custom-light: #74a561;
$custom-dark: #000000;
JSON
{
  "hex": "#337f1e",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 107.01,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52876,
    "c": 0.1503,
    "h": 139.8
  },
  "luminance": 0.15976
}

Semantic roles & 50–950 ramp

primary
#337F1E
secondary
#9B47B2
accent
#43E5C2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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