#337239#337239

#337239 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.6% C 0.110 H 145.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#337239
RGBrgb(51, 114, 57)
HSLhsl(126, 38%, 32%)
HSVhsv(126, 55%, 45%)
CMYKcmyk(55.3%, 0%, 50%, 55.3%)
CIE-LABlab(42.81, -33.29, 25.47)
CIE-LCHlch(42.81, 41.92, 142.57°)
OKLaboklab(49.57% -0.0903 0.0619)
OKLCHoklch(49.57% 0.11 145.6)
XYZxyz(8.1206, 13.0332, 5.9578)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337239 #72336C
analogous
#4D7233 #337239 #337258
triadic
#337239 #393372 #723933
tetradic
#337239 #334D72 #72336C #725833
square
#337239 #334D72 #72336C #725833
split-complementary
#337239 #583372 #72334D
monochromatic
#0D1D0F #204824 #337239 #469C4E #65BA6D

Accessibility & contrast

On white

5.82
#337239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#337239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337239
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337239#FFFFFF#000000##FFFFFF
##3372391.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746934
Deuteranopia (green-blind)
#6B633D
Tritanopia (blue-blind)
#286F65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #337239;
/* rgb */ color: rgb(51, 114, 57);
/* oklch */ color: oklch(49.6% 0.110 145.6);
Tailwind
colors: {
  custom: {
    50: '#709b70',
    500: '#337239',
    950: '#000000',
  },
}
SCSS
$custom: #337239;
$custom-light: #709b70;
$custom-dark: #000000;
JSON
{
  "hex": "#337239",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 125.714,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.49569,
    "c": 0.1095,
    "h": 145.6
  },
  "luminance": 0.13034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337239

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

Preview Lab → · Contrast checker → · Palette generator →

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