#337246#337246

#337246 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.8% C 0.096 H 151.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#337246
RGBrgb(51, 114, 70)
HSLhsl(138, 38%, 32%)
HSVhsv(138, 55%, 45%)
CMYKcmyk(55.3%, 0%, 38.6%, 55.3%)
CIE-LABlab(43.03, -30.97, 18.40)
CIE-LCHlch(43.03, 36.02, 149.28°)
OKLaboklab(49.82% -0.0841 0.046)
OKLCHoklch(49.82% 0.096 151.3)
XYZxyz(8.4874, 13.1799, 7.8899)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337246 #72335F
analogous
#407233 #337246 #337266
triadic
#337246 #463372 #724633
tetradic
#337246 #334072 #72335F #726633
square
#337246 #334072 #72335F #726633
split-complementary
#337246 #663372 #723340
monochromatic
#0D1D12 #20482C #337246 #469C60 #65BA7F

Accessibility & contrast

On white

5.78
#337246 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#337246 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337246
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337246#FFFFFF#000000##FFFFFF
##3372461.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726943
Deuteranopia (green-blind)
#6A6349
Tritanopia (blue-blind)
#247067
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #337246;
/* rgb */ color: rgb(51, 114, 70);
/* oklch */ color: oklch(49.8% 0.096 151.3);
Tailwind
colors: {
  custom: {
    50: '#709b7a',
    500: '#337246',
    950: '#000000',
  },
}
SCSS
$custom: #337246;
$custom-light: #709b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#337246",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 70
  },
  "hsl": {
    "h": 138.095,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.49821,
    "c": 0.09583,
    "h": 151.3
  },
  "luminance": 0.13181
}

Semantic roles & 50–950 ramp

primary
#337246
secondary
#A25F8E
accent
#5AABCE
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #337246

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

Preview Lab → · Contrast checker → · Palette generator →

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