#337115#337115

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

Color values

HEX#337115
RGBrgb(51, 113, 21)
HSLhsl(100, 69%, 26%)
HSVhsv(100, 81%, 44%)
CMYKcmyk(54.9%, 0%, 81.4%, 55.7%)
CIE-LABlab(42.10, -36.90, 41.54)
CIE-LCHlch(42.10, 55.56, 131.61°)
OKLaboklab(48.87% -0.1022 0.0925)
OKLCHoklch(48.87% 0.138 137.8)
XYZxyz(7.4055, 12.5676, 2.7449)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337115 #531571
analogous
#617115 #337115 #157125
triadic
#337115 #153371 #711533
tetradic
#337115 #156171 #531571 #712515
square
#337115 #156171 #531571 #712515
split-complementary
#337115 #251571 #711561
monochromatic
#0C1A05 #1C3D0B #337115 #4AA51F #62D729

Accessibility & contrast

On white

5.98
#337115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#337115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337115
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337115#FFFFFF#000000##FFFFFF
##3371151.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337115;
/* rgb */ color: rgb(51, 113, 21);
/* oklch */ color: oklch(48.9% 0.138 137.8);
Tailwind
colors: {
  custom: {
    50: '#729a5b',
    500: '#337115',
    950: '#000000',
  },
}
SCSS
$custom: #337115;
$custom-light: #729a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#337115",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 100.435,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48867,
    "c": 0.13781,
    "h": 137.8
  },
  "luminance": 0.12568
}

Semantic roles & 50–950 ramp

primary
#337115
secondary
#843BA7
accent
#3CEBB2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337115

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

Preview Lab → · Contrast checker → · Palette generator →

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