#337F11#337F11

#337F11 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.157 H 138.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#337F11
RGBrgb(51, 127, 17)
HSLhsl(101, 76%, 28%)
HSVhsv(101, 87%, 50%)
CMYKcmyk(59.8%, 0%, 86.6%, 50.2%)
CIE-LABlab(46.87, -42.64, 47.16)
CIE-LCHlch(46.87, 63.58, 132.12°)
OKLaboklab(52.8% -0.1178 0.1037)
OKLCHoklch(52.8% 0.157 138.6)
XYZxyz(9.0554, 15.9222, 3.1263)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F11 #5D117F
analogous
#6A7F11 #337F11 #117F26
triadic
#337F11 #11337F #7F1133
tetradic
#337F11 #116A7F #5D117F #7F2611
square
#337F11 #116A7F #5D117F #7F2611
split-complementary
#337F11 #26117F #7F116A
monochromatic
#0B1B04 #1D490A #337F11 #49B518 #62E228

Accessibility & contrast

On white

5.02
#337F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#337F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F11
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F11#FFFFFF#000000##FFFFFF
##337F111.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#2B7A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f11;
/* rgb */ color: rgb(51, 127, 17);
/* oklch */ color: oklch(52.8% 0.157 138.6);
Tailwind
colors: {
  custom: {
    50: '#75a55b',
    500: '#337f11',
    950: '#000000',
  },
}
SCSS
$custom: #337f11;
$custom-light: #75a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#337f11",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 101.455,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52796,
    "c": 0.1569,
    "h": 138.6
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#337F11
secondary
#8E37B5
accent
#35F3B8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #337F11

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

Preview Lab → · Contrast checker → · Palette generator →

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