#337816#337816

#337816 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.146 H 138.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#337816
RGBrgb(51, 120, 22)
HSLhsl(102, 69%, 28%)
HSVhsv(102, 82%, 47%)
CMYKcmyk(57.5%, 0%, 81.7%, 52.9%)
CIE-LABlab(44.51, -39.65, 43.49)
CIE-LCHlch(44.51, 58.85, 132.36°)
OKLaboklab(50.85% -0.1095 0.0967)
OKLCHoklch(50.85% 0.146 138.5)
XYZxyz(8.2262, 14.1940, 3.0651)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337816 #5B1678
analogous
#647816 #337816 #16782A
triadic
#337816 #163378 #781633
tetradic
#337816 #166478 #5B1678 #782A16
square
#337816 #166478 #5B1678 #782A16
split-complementary
#337816 #2A1678 #781664
monochromatic
#0B1A05 #1D440D #337816 #49AC1F #62D92F

Accessibility & contrast

On white

5.47
#337816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#337816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337816
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337816#FFFFFF#000000##FFFFFF
##3378161.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#2D7466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #337816;
/* rgb */ color: rgb(51, 120, 22);
/* oklch */ color: oklch(50.9% 0.146 138.5);
Tailwind
colors: {
  custom: {
    50: '#73a05c',
    500: '#337816',
    950: '#000000',
  },
}
SCSS
$custom: #337816;
$custom-light: #73a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#337816",
  "rgb": {
    "r": 51,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 102.245,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50853,
    "c": 0.1461,
    "h": 138.5
  },
  "luminance": 0.14195
}

Semantic roles & 50–950 ramp

primary
#337816
secondary
#8C3CAD
accent
#3CECB8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #337816

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

Preview Lab → · Contrast checker → · Palette generator →

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