#337316#337316

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

Color values

HEX#337316
RGBrgb(51, 115, 22)
HSLhsl(101, 68%, 27%)
HSVhsv(101, 81%, 45%)
CMYKcmyk(55.7%, 0%, 80.9%, 54.9%)
CIE-LABlab(42.80, -37.65, 41.85)
CIE-LCHlch(42.80, 56.29, 131.97°)
OKLaboklab(49.44% -0.1041 0.0933)
OKLCHoklch(49.44% 0.14 138.1)
XYZxyz(7.6405, 13.0226, 2.8699)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337316 #561673
analogous
#627316 #337316 #167327
triadic
#337316 #163373 #731633
tetradic
#337316 #166273 #561673 #732716
square
#337316 #166273 #561673 #732716
split-complementary
#337316 #271673 #731662
monochromatic
#0B1A05 #1C400C #337316 #4AA620 #62D72D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337316#FFFFFF#000000##FFFFFF
##3373161.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: #337316;
/* rgb */ color: rgb(51, 115, 22);
/* oklch */ color: oklch(49.4% 0.140 138.1);
Tailwind
colors: {
  custom: {
    50: '#729c5b',
    500: '#337316',
    950: '#000000',
  },
}
SCSS
$custom: #337316;
$custom-light: #729c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#337316",
  "rgb": {
    "r": 51,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 101.29,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.4944,
    "c": 0.13981,
    "h": 138.1
  },
  "luminance": 0.13023
}

Semantic roles & 50–950 ramp

primary
#337316
secondary
#873CA9
accent
#3DEBB5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337316

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

Preview Lab → · Contrast checker → · Palette generator →

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