#337936#337936

#337936 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.5% C 0.123 H 144.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#337936
RGBrgb(51, 121, 54)
HSLhsl(123, 41%, 34%)
HSVhsv(123, 58%, 47%)
CMYKcmyk(57.9%, 0%, 55.4%, 52.5%)
CIE-LABlab(45.14, -36.77, 29.96)
CIE-LCHlch(45.14, 47.43, 140.83°)
OKLaboklab(51.47% -0.0998 0.0718)
OKLCHoklch(51.47% 0.123 144.3)
XYZxyz(8.8680, 14.6441, 5.8486)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337936 #793376
analogous
#537933 #337936 #337959
triadic
#337936 #363379 #793633
tetradic
#337936 #335379 #793376 #795933
square
#337936 #335379 #793376 #795933
split-complementary
#337936 #593379 #793353
monochromatic
#0F2310 #214E23 #337936 #45A449 #67BF6B

Accessibility & contrast

On white

5.34
#337936 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#337936 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337936
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337936#FFFFFF#000000##FFFFFF
##3379361.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F30
Deuteranopia (green-blind)
#72683B
Tritanopia (blue-blind)
#27766A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337936;
/* rgb */ color: rgb(51, 121, 54);
/* oklch */ color: oklch(51.5% 0.123 144.3);
Tailwind
colors: {
  custom: {
    50: '#72a06f',
    500: '#337936',
    950: '#000000',
  },
}
SCSS
$custom: #337936;
$custom-light: #72a06f;
$custom-dark: #000000;
JSON
{
  "hex": "#337936",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 54
  },
  "hsl": {
    "h": 122.571,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.51469,
    "c": 0.12293,
    "h": 144.3
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

primary
#337936
secondary
#A761A4
accent
#57CBD1
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #337936

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

Preview Lab → · Contrast checker → · Palette generator →

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