#337017#337017

#337017 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.135 H 138.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#337017
RGBrgb(51, 112, 23)
HSLhsl(101, 66%, 26%)
HSVhsv(101, 79%, 44%)
CMYKcmyk(54.5%, 0%, 79.5%, 56.1%)
CIE-LABlab(41.77, -36.35, 40.51)
CIE-LCHlch(41.77, 54.43, 131.90°)
OKLaboklab(48.6% -0.1006 0.0907)
OKLCHoklch(48.6% 0.135 138)
XYZxyz(7.3138, 12.3535, 2.8095)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337017 #541770
analogous
#607017 #337017 #177028
triadic
#337017 #173370 #701733
tetradic
#337017 #176070 #541770 #702817
square
#337017 #176070 #541770 #702817
split-complementary
#337017 #281770 #701760
monochromatic
#0C1905 #1C3D0D #337017 #4AA321 #62D42D

Accessibility & contrast

On white

6.05
#337017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#337017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337017
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337017#FFFFFF#000000##FFFFFF
##3370171.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#2E6C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #337017;
/* rgb */ color: rgb(51, 112, 23);
/* oklch */ color: oklch(48.6% 0.135 138.0);
Tailwind
colors: {
  custom: {
    50: '#729a5b',
    500: '#337017',
    950: '#000000',
  },
}
SCSS
$custom: #337017;
$custom-light: #729a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#337017",
  "rgb": {
    "r": 51,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 101.124,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48598,
    "c": 0.13539,
    "h": 138
  },
  "luminance": 0.12354
}

Semantic roles & 50–950 ramp

primary
#337017
secondary
#853DA6
accent
#3FE9B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337017

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

Preview Lab → · Contrast checker → · Palette generator →

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