#337117#337117

#337117 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.137 H 138.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#337117
RGBrgb(51, 113, 23)
HSLhsl(101, 66%, 27%)
HSVhsv(101, 80%, 44%)
CMYKcmyk(54.9%, 0%, 79.6%, 55.7%)
CIE-LABlab(42.12, -36.76, 40.84)
CIE-LCHlch(42.12, 54.95, 131.99°)
OKLaboklab(48.88% -0.1017 0.0914)
OKLCHoklch(48.88% 0.137 138.1)
XYZxyz(7.4248, 12.5754, 2.8465)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337117 #551771
analogous
#607117 #337117 #177128
triadic
#337117 #173371 #711733
tetradic
#337117 #176071 #551771 #712817
square
#337117 #176071 #551771 #712817
split-complementary
#337117 #281771 #711760
monochromatic
#0B1905 #1C3E0D #337117 #4AA421 #62D42E

Accessibility & contrast

On white

5.97
#337117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#337117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337117
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337117#FFFFFF#000000##FFFFFF
##3371171.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756703
Deuteranopia (green-blind)
#6D6121
Tritanopia (blue-blind)
#2E6D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #337117;
/* rgb */ color: rgb(51, 113, 23);
/* oklch */ color: oklch(48.9% 0.137 138.1);
Tailwind
colors: {
  custom: {
    50: '#729a5c',
    500: '#337117',
    950: '#000000',
  },
}
SCSS
$custom: #337117;
$custom-light: #729a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#337117",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 101.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48881,
    "c": 0.13668,
    "h": 138.1
  },
  "luminance": 0.12576
}

Semantic roles & 50–950 ramp

primary
#337117
secondary
#863DA7
accent
#3FE9B4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337117

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

Preview Lab → · Contrast checker → · Palette generator →

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