#337943#337943

#337943 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.7% C 0.110 H 148.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#337943
RGBrgb(51, 121, 67)
HSLhsl(134, 41%, 34%)
HSVhsv(134, 58%, 47%)
CMYKcmyk(57.9%, 0%, 44.6%, 52.5%)
CIE-LABlab(45.34, -34.68, 23.13)
CIE-LCHlch(45.34, 41.68, 146.30°)
OKLaboklab(51.69% -0.0939 0.057)
OKLCHoklch(51.69% 0.11 148.7)
XYZxyz(9.2151, 14.7830, 7.6769)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337943 #793369
analogous
#467933 #337943 #337966
triadic
#337943 #433379 #794333
tetradic
#337943 #334679 #793369 #796633
square
#337943 #334679 #793369 #796633
split-complementary
#337943 #663379 #793346
monochromatic
#0F2313 #214E2B #337943 #45A45B #67BF7B

Accessibility & contrast

On white

5.31
#337943 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#337943 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337943
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337943#FFFFFF#000000##FFFFFF
##3379431.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3F
Deuteranopia (green-blind)
#716947
Tritanopia (blue-blind)
#23776C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337943;
/* rgb */ color: rgb(51, 121, 67);
/* oklch */ color: oklch(51.7% 0.110 148.7);
Tailwind
colors: {
  custom: {
    50: '#71a078',
    500: '#337943',
    950: '#000000',
  },
}
SCSS
$custom: #337943;
$custom-light: #71a078;
$custom-dark: #000000;
JSON
{
  "hex": "#337943",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 67
  },
  "hsl": {
    "h": 133.714,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.10985,
    "h": 148.7
  },
  "luminance": 0.14784
}

Semantic roles & 50–950 ramp

primary
#337943
secondary
#A76197
accent
#57B5D1
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #337943

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

Preview Lab → · Contrast checker → · Palette generator →

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