#337315#337315

#337315 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.140 H 138.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#337315
RGBrgb(51, 115, 21)
HSLhsl(101, 69%, 27%)
HSVhsv(101, 82%, 45%)
CMYKcmyk(55.7%, 0%, 81.7%, 54.9%)
CIE-LABlab(42.79, -37.71, 42.19)
CIE-LCHlch(42.79, 56.59, 131.79°)
OKLaboklab(49.43% -0.1043 0.0939)
OKLCHoklch(49.43% 0.14 138)
XYZxyz(7.6311, 13.0188, 2.8201)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337315 #551573
analogous
#627315 #337315 #157326
triadic
#337315 #153373 #731533
tetradic
#337315 #156273 #551573 #732615
square
#337315 #156273 #551573 #732615
split-complementary
#337315 #261573 #731562
monochromatic
#0B1A05 #1C3F0C #337315 #4AA71E #62D82A

Accessibility & contrast

On white

5.83
#337315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#337315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337315
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337315#FFFFFF#000000##FFFFFF
##3373151.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#2E6F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #337315;
/* rgb */ color: rgb(51, 115, 21);
/* oklch */ color: oklch(49.4% 0.140 138.0);
Tailwind
colors: {
  custom: {
    50: '#729c5b',
    500: '#337315',
    950: '#000000',
  },
}
SCSS
$custom: #337315;
$custom-light: #729c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#337315",
  "rgb": {
    "r": 51,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 100.851,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49434,
    "c": 0.14035,
    "h": 138
  },
  "luminance": 0.13019
}

Semantic roles & 50–950 ramp

primary
#337315
secondary
#863BA9
accent
#3CECB4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #337315

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

Preview Lab → · Contrast checker → · Palette generator →

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