#337512#337512

#337512 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.144 H 137.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#337512
RGBrgb(51, 117, 18)
HSLhsl(100, 73%, 26%)
HSVhsv(100, 85%, 46%)
CMYKcmyk(56.4%, 0%, 84.6%, 54.1%)
CIE-LABlab(43.46, -38.69, 43.78)
CIE-LCHlch(43.46, 58.43, 131.47°)
OKLaboklab(49.98% -0.1072 0.0967)
OKLCHoklch(49.98% 0.144 137.9)
XYZxyz(7.8354, 13.4694, 2.7591)
Luminance0.1347 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337512 #541275
analogous
#657512 #337512 #127523
triadic
#337512 #123375 #751233
tetradic
#337512 #126575 #541275 #752312
square
#337512 #126575 #541275 #752312
split-complementary
#337512 #231275 #751265
monochromatic
#0C1B04 #1C400A #337512 #4AAA1A #62DD24

Accessibility & contrast

On white

5.68
#337512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#337512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337512
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337512#FFFFFF#000000##FFFFFF
##3375121.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#2E7163
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #337512;
/* rgb */ color: rgb(51, 117, 18);
/* oklch */ color: oklch(50.0% 0.144 137.9);
Tailwind
colors: {
  custom: {
    50: '#739d5a',
    500: '#337512',
    950: '#000000',
  },
}
SCSS
$custom: #337512;
$custom-light: #739d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#337512",
  "rgb": {
    "r": 51,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 100,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49982,
    "c": 0.14435,
    "h": 137.9
  },
  "luminance": 0.1347
}

Semantic roles & 50–950 ramp

primary
#337512
secondary
#8537AC
accent
#38F0B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #337512

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

Preview Lab → · Contrast checker → · Palette generator →

#337512 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva