#337218#337218

#337218 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.2% C 0.137 H 138.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#337218
RGBrgb(51, 114, 24)
HSLhsl(102, 65%, 27%)
HSVhsv(102, 79%, 45%)
CMYKcmyk(55.3%, 0%, 78.9%, 55.3%)
CIE-LABlab(42.47, -37.10, 40.82)
CIE-LCHlch(42.47, 55.16, 132.27°)
OKLaboklab(49.17% -0.1025 0.0915)
OKLCHoklch(49.17% 0.137 138.3)
XYZxyz(7.5472, 12.8038, 2.9377)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337218 #571872
analogous
#607218 #337218 #18722A
triadic
#337218 #183372 #721833
tetradic
#337218 #186072 #571872 #722A18
square
#337218 #186072 #571872 #722A18
split-complementary
#337218 #2A1872 #721860
monochromatic
#0B1905 #1C3F0D #337218 #4AA523 #62D431

Accessibility & contrast

On white

5.90
#337218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#337218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337218
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337218#FFFFFF#000000##FFFFFF
##3372181.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766705
Deuteranopia (green-blind)
#6E6222
Tritanopia (blue-blind)
#2E6E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337218;
/* rgb */ color: rgb(51, 114, 24);
/* oklch */ color: oklch(49.2% 0.137 138.3);
Tailwind
colors: {
  custom: {
    50: '#729b5c',
    500: '#337218',
    950: '#000000',
  },
}
SCSS
$custom: #337218;
$custom-light: #729b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#337218",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 102,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49171,
    "c": 0.13738,
    "h": 138.3
  },
  "luminance": 0.12804
}

Semantic roles & 50–950 ramp

primary
#337218
secondary
#883EA7
accent
#40E8B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337218

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

Preview Lab → · Contrast checker → · Palette generator →

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