#337918#337918

#337918 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.146 H 138.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#337918
RGBrgb(51, 121, 24)
HSLhsl(103, 67%, 28%)
HSVhsv(103, 80%, 47%)
CMYKcmyk(57.9%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.86, -39.91, 43.15)
CIE-LCHlch(44.86, 58.78, 132.77°)
OKLaboklab(51.15% -0.1101 0.0963)
OKLCHoklch(51.15% 0.146 138.8)
XYZxyz(8.3672, 14.4438, 3.2110)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337918 #5E1879
analogous
#637918 #337918 #18792D
triadic
#337918 #183379 #791833
tetradic
#337918 #186379 #5E1879 #792D18
square
#337918 #186379 #5E1879 #792D18
split-complementary
#337918 #2D1879 #791863
monochromatic
#0B1A05 #1D460E #337918 #49AC22 #62D735

Accessibility & contrast

On white

5.40
#337918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#337918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337918
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337918#FFFFFF#000000##FFFFFF
##3379181.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#2C7567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #337918;
/* rgb */ color: rgb(51, 121, 24);
/* oklch */ color: oklch(51.1% 0.146 138.8);
Tailwind
colors: {
  custom: {
    50: '#73a05d',
    500: '#337918',
    950: '#000000',
  },
}
SCSS
$custom: #337918;
$custom-light: #73a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#337918",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 103.299,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51148,
    "c": 0.14627,
    "h": 138.8
  },
  "luminance": 0.14444
}

Semantic roles & 50–950 ramp

primary
#337918
secondary
#8F3FAE
accent
#3EEABA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #337918

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

Preview Lab → · Contrast checker → · Palette generator →

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