#337318#337318

#337318 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.5% C 0.139 H 138.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#337318
RGBrgb(51, 115, 24)
HSLhsl(102, 65%, 27%)
HSVhsv(102, 79%, 45%)
CMYKcmyk(55.7%, 0%, 79.1%, 54.9%)
CIE-LABlab(42.81, -37.51, 41.15)
CIE-LCHlch(42.81, 55.68, 132.35°)
OKLaboklab(49.45% -0.1036 0.0922)
OKLCHoklch(49.45% 0.139 138.3)
XYZxyz(7.6606, 13.0306, 2.9755)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337318 #581873
analogous
#617318 #337318 #18732B
triadic
#337318 #183373 #731833
tetradic
#337318 #186173 #581873 #732B18
square
#337318 #186173 #581873 #732B18
split-complementary
#337318 #2B1873 #731861
monochromatic
#0B1905 #1D400D #337318 #49A623 #62D431

Accessibility & contrast

On white

5.82
#337318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#337318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337318
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337318#FFFFFF#000000##FFFFFF
##3373181.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776804
Deuteranopia (green-blind)
#6F6322
Tritanopia (blue-blind)
#2D6F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #337318;
/* rgb */ color: rgb(51, 115, 24);
/* oklch */ color: oklch(49.5% 0.139 138.3);
Tailwind
colors: {
  custom: {
    50: '#729c5c',
    500: '#337318',
    950: '#000000',
  },
}
SCSS
$custom: #337318;
$custom-light: #729c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#337318",
  "rgb": {
    "r": 51,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 102.198,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49454,
    "c": 0.13867,
    "h": 138.3
  },
  "luminance": 0.13031
}

Semantic roles & 50–950 ramp

primary
#337318
secondary
#893FA8
accent
#3FE8B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337318

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

Preview Lab → · Contrast checker → · Palette generator →

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