#337240#337240

#337240 is a mid, moderate green. Relative luminance 0.131; OKLCH L 49.7% C 0.102 H 148.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#337240
RGBrgb(51, 114, 64)
HSLhsl(132, 38%, 32%)
HSVhsv(132, 55%, 45%)
CMYKcmyk(55.3%, 0%, 43.9%, 55.3%)
CIE-LABlab(42.93, -32.09, 21.70)
CIE-LCHlch(42.93, 38.74, 145.94°)
OKLaboklab(49.7% -0.087 0.0536)
OKLCHoklch(49.7% 0.102 148.4)
XYZxyz(8.3074, 13.1079, 6.9418)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337240 #723365
analogous
#467233 #337240 #337260
triadic
#337240 #403372 #724033
tetradic
#337240 #334672 #723365 #726033
square
#337240 #334672 #723365 #726033
split-complementary
#337240 #603372 #723346
monochromatic
#0D1D11 #204828 #337240 #469C58 #65BA77

Accessibility & contrast

On white

5.80
#337240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#337240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337240
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337240#FFFFFF#000000##FFFFFF
##3372401.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693C
Deuteranopia (green-blind)
#6A6343
Tritanopia (blue-blind)
#267066
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #337240;
/* rgb */ color: rgb(51, 114, 64);
/* oklch */ color: oklch(49.7% 0.102 148.4);
Tailwind
colors: {
  custom: {
    50: '#709b75',
    500: '#337240',
    950: '#000000',
  },
}
SCSS
$custom: #337240;
$custom-light: #709b75;
$custom-dark: #000000;
JSON
{
  "hex": "#337240",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 132.381,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.49697,
    "c": 0.10218,
    "h": 148.4
  },
  "luminance": 0.13109
}

Semantic roles & 50–950 ramp

primary
#337240
secondary
#A25F94
accent
#5AB6CE
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #337240

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

Preview Lab → · Contrast checker → · Palette generator →

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