#337139#337139

#337139 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.3% C 0.108 H 145.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#337139
RGBrgb(51, 113, 57)
HSLhsl(126, 38%, 32%)
HSVhsv(126, 55%, 44%)
CMYKcmyk(54.9%, 0%, 49.6%, 55.7%)
CIE-LABlab(42.47, -32.84, 25.05)
CIE-LCHlch(42.47, 41.30, 142.67°)
OKLaboklab(49.29% -0.0891 0.061)
OKLCHoklch(49.29% 0.108 145.6)
XYZxyz(8.0084, 12.8088, 5.9204)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337139 #71336B
analogous
#4C7133 #337139 #337158
triadic
#337139 #393371 #713933
tetradic
#337139 #334C71 #71336B #715833
square
#337139 #334C71 #71336B #715833
split-complementary
#337139 #583371 #71334C
monochromatic
#0D1D0E #204724 #337139 #469B4E #65B96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337139#FFFFFF#000000##FFFFFF
##3371391.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)
#736835
Deuteranopia (green-blind)
#6A623D
Tritanopia (blue-blind)
#286E64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337139;
/* rgb */ color: rgb(51, 113, 57);
/* oklch */ color: oklch(49.3% 0.108 145.6);
Tailwind
colors: {
  custom: {
    50: '#709a70',
    500: '#337139',
    950: '#000000',
  },
}
SCSS
$custom: #337139;
$custom-light: #709a70;
$custom-dark: #000000;
JSON
{
  "hex": "#337139",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 57
  },
  "hsl": {
    "h": 125.806,
    "s": 37.805,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.10797,
    "h": 145.6
  },
  "luminance": 0.12809
}

Semantic roles & 50–950 ramp

primary
#337139
secondary
#A25E9B
accent
#5AC3CE
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #337139

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

Preview Lab → · Contrast checker → · Palette generator →

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