#337015#337015

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

Color values

HEX#337015
RGBrgb(51, 112, 21)
HSLhsl(100, 68%, 26%)
HSVhsv(100, 81%, 44%)
CMYKcmyk(54.5%, 0%, 81.2%, 56.1%)
CIE-LABlab(41.76, -36.48, 41.21)
CIE-LCHlch(41.76, 55.04, 131.52°)
OKLaboklab(48.58% -0.101 0.0918)
OKLCHoklch(48.58% 0.137 137.7)
XYZxyz(7.2945, 12.3457, 2.7079)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337015 #521570
analogous
#607015 #337015 #157024
triadic
#337015 #153370 #701533
tetradic
#337015 #156070 #521570 #702415
square
#337015 #156070 #521570 #702415
split-complementary
#337015 #241570 #701560
monochromatic
#0C1A05 #1C3C0B #337015 #4AA41F #62D729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337015#FFFFFF#000000##FFFFFF
##3370151.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)
#746600
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#2E6C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #337015;
/* rgb */ color: rgb(51, 112, 21);
/* oklch */ color: oklch(48.6% 0.137 137.7);
Tailwind
colors: {
  custom: {
    50: '#729a5a',
    500: '#337015',
    950: '#000000',
  },
}
SCSS
$custom: #337015;
$custom-light: #729a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#337015",
  "rgb": {
    "r": 51,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 100.22,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48584,
    "c": 0.13652,
    "h": 137.7
  },
  "luminance": 0.12346
}

Semantic roles & 50–950 ramp

primary
#337015
secondary
#833BA6
accent
#3DEBB2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337015

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

Preview Lab → · Contrast checker → · Palette generator →

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