#337712#337712

#337712 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.5% C 0.147 H 138.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#337712
RGBrgb(51, 119, 18)
HSLhsl(100, 74%, 27%)
HSVhsv(100, 85%, 47%)
CMYKcmyk(57.1%, 0%, 84.9%, 53.3%)
CIE-LABlab(44.15, -39.49, 44.41)
CIE-LCHlch(44.15, 59.42, 131.64°)
OKLaboklab(50.55% -0.1093 0.098)
OKLCHoklch(50.55% 0.147 138.1)
XYZxyz(8.0710, 13.9405, 2.8376)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337712 #561277
analogous
#667712 #337712 #127724
triadic
#337712 #123377 #771233
tetradic
#337712 #126677 #561277 #772412
square
#337712 #126677 #561277 #772412
split-complementary
#337712 #241277 #771266
monochromatic
#0B1B04 #1C420A #337712 #4AAC1A #62DE25

Accessibility & contrast

On white

5.54
#337712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#337712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337712
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337712#FFFFFF#000000##FFFFFF
##3377121.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#72661F
Tritanopia (blue-blind)
#2D7365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #337712;
/* rgb */ color: rgb(51, 119, 18);
/* oklch */ color: oklch(50.5% 0.147 138.1);
Tailwind
colors: {
  custom: {
    50: '#739f5a',
    500: '#337712',
    950: '#000000',
  },
}
SCSS
$custom: #337712;
$custom-light: #739f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#337712",
  "rgb": {
    "r": 51,
    "g": 119,
    "b": 18
  },
  "hsl": {
    "h": 100.396,
    "s": 73.723,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50547,
    "c": 0.14681,
    "h": 138.1
  },
  "luminance": 0.13941
}

Semantic roles & 50–950 ramp

primary
#337712
secondary
#8737AD
accent
#37F0B4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #337712

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

Preview Lab → · Contrast checker → · Palette generator →

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