#337715#337715

#337715 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.145 H 138.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#337715
RGBrgb(51, 119, 21)
HSLhsl(102, 70%, 27%)
HSVhsv(102, 82%, 47%)
CMYKcmyk(57.1%, 0%, 82.4%, 53.3%)
CIE-LABlab(44.16, -39.32, 43.49)
CIE-LCHlch(44.16, 58.62, 132.12°)
OKLaboklab(50.56% -0.1087 0.0966)
OKLCHoklch(50.56% 0.145 138.4)
XYZxyz(8.0971, 13.9509, 2.9754)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337715 #591577
analogous
#647715 #337715 #157728
triadic
#337715 #153377 #771533
tetradic
#337715 #156477 #591577 #772815
square
#337715 #156477 #591577 #772815
split-complementary
#337715 #281577 #771564
monochromatic
#0B1A05 #1D430C #337715 #49AB1E #62DA2D

Accessibility & contrast

On white

5.54
#337715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#337715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337715
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337715#FFFFFF#000000##FFFFFF
##3377151.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#2D7365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #337715;
/* rgb */ color: rgb(51, 119, 21);
/* oklch */ color: oklch(50.6% 0.145 138.4);
Tailwind
colors: {
  custom: {
    50: '#739f5c',
    500: '#337715',
    950: '#000000',
  },
}
SCSS
$custom: #337715;
$custom-light: #739f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#337715",
  "rgb": {
    "r": 51,
    "g": 119,
    "b": 21
  },
  "hsl": {
    "h": 101.633,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50564,
    "c": 0.14537,
    "h": 138.4
  },
  "luminance": 0.13952
}

Semantic roles & 50–950 ramp

primary
#337715
secondary
#8A3BAD
accent
#3BEDB6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #337715

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

Preview Lab → · Contrast checker → · Palette generator →

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