#337215#337215

#337215 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.2% C 0.139 H 137.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#337215
RGBrgb(51, 114, 21)
HSLhsl(101, 69%, 26%)
HSVhsv(101, 82%, 45%)
CMYKcmyk(55.3%, 0%, 81.6%, 55.3%)
CIE-LABlab(42.45, -37.31, 41.86)
CIE-LCHlch(42.45, 56.07, 131.70°)
OKLaboklab(49.15% -0.1032 0.0932)
OKLCHoklch(49.15% 0.139 137.9)
XYZxyz(7.5176, 12.7920, 2.7823)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337215 #541572
analogous
#627215 #337215 #157226
triadic
#337215 #153372 #721533
tetradic
#337215 #156272 #541572 #722615
square
#337215 #156272 #541572 #722615
split-complementary
#337215 #261572 #721562
monochromatic
#0C1A05 #1C3E0B #337215 #4AA61F #62D82A

Accessibility & contrast

On white

5.90
#337215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#337215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337215
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337215#FFFFFF#000000##FFFFFF
##3372151.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#2E6E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337215;
/* rgb */ color: rgb(51, 114, 21);
/* oklch */ color: oklch(49.2% 0.139 137.9);
Tailwind
colors: {
  custom: {
    50: '#729b5b',
    500: '#337215',
    950: '#000000',
  },
}
SCSS
$custom: #337215;
$custom-light: #729b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#337215",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 100.645,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49151,
    "c": 0.13907,
    "h": 137.9
  },
  "luminance": 0.12793
}

Semantic roles & 50–950 ramp

primary
#337215
secondary
#853BA8
accent
#3CECB3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337215

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

Preview Lab → · Contrast checker → · Palette generator →

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