#337342#337342

#337342 is a mid, moderate green. Relative luminance 0.134; OKLCH L 50.0% C 0.102 H 149.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#337342
RGBrgb(51, 115, 66)
HSLhsl(134, 39%, 33%)
HSVhsv(134, 56%, 45%)
CMYKcmyk(55.7%, 0%, 42.6%, 54.9%)
CIE-LABlab(43.30, -32.18, 21.05)
CIE-LCHlch(43.30, 38.45, 146.82°)
OKLaboklab(50.01% -0.0872 0.0521)
OKLCHoklch(50.01% 0.102 149.1)
XYZxyz(8.4788, 13.3579, 7.2847)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337342 #733364
analogous
#447333 #337342 #337362
triadic
#337342 #423373 #734233
tetradic
#337342 #334473 #733364 #736233
square
#337342 #334473 #733364 #736233
split-complementary
#337342 #623373 #733344
monochromatic
#0D1E11 #20492A #337342 #469D5A #65BB7A

Accessibility & contrast

On white

5.72
#337342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#337342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337342
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337342#FFFFFF#000000##FFFFFF
##3373421.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746A3E
Deuteranopia (green-blind)
#6B6445
Tritanopia (blue-blind)
#257167
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #337342;
/* rgb */ color: rgb(51, 115, 66);
/* oklch */ color: oklch(50.0% 0.102 149.1);
Tailwind
colors: {
  custom: {
    50: '#709c77',
    500: '#337342',
    950: '#000000',
  },
}
SCSS
$custom: #337342;
$custom-light: #709c77;
$custom-dark: #000000;
JSON
{
  "hex": "#337342",
  "rgb": {
    "r": 51,
    "g": 115,
    "b": 66
  },
  "hsl": {
    "h": 134.063,
    "s": 38.554,
    "l": 32.549
  },
  "oklch": {
    "l": 0.50013,
    "c": 0.10163,
    "h": 149.1
  },
  "luminance": 0.13359
}

Semantic roles & 50–950 ramp

primary
#337342
secondary
#A35F93
accent
#59B3CE
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #337342

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

Preview Lab → · Contrast checker → · Palette generator →

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