#337245#337245

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

Color values

HEX#337245
RGBrgb(51, 114, 69)
HSLhsl(137, 38%, 32%)
HSVhsv(137, 55%, 45%)
CMYKcmyk(55.3%, 0%, 39.5%, 55.3%)
CIE-LABlab(43.01, -31.16, 18.95)
CIE-LCHlch(43.01, 36.47, 148.69°)
OKLaboklab(49.8% -0.0846 0.0473)
OKLCHoklch(49.8% 0.097 150.8)
XYZxyz(8.4561, 13.1674, 7.7250)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337245 #723360
analogous
#407233 #337245 #337265
triadic
#337245 #453372 #724533
tetradic
#337245 #334072 #723360 #726533
square
#337245 #334072 #723360 #726533
split-complementary
#337245 #653372 #723340
monochromatic
#0D1D12 #20482B #337245 #469C5F #65BA7D

Accessibility & contrast

On white

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

On black

3.63
#337245 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##337245#FFFFFF#000000##FFFFFF
##3372451.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337245;
/* rgb */ color: rgb(51, 114, 69);
/* oklch */ color: oklch(49.8% 0.097 150.8);
Tailwind
colors: {
  custom: {
    50: '#709b79',
    500: '#337245',
    950: '#000000',
  },
}
SCSS
$custom: #337245;
$custom-light: #709b79;
$custom-dark: #000000;
JSON
{
  "hex": "#337245",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 69
  },
  "hsl": {
    "h": 137.143,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.49799,
    "c": 0.09689,
    "h": 150.8
  },
  "luminance": 0.13168
}

Semantic roles & 50–950 ramp

primary
#337245
secondary
#A25F8F
accent
#5AADCE
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #337245

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

Preview Lab → · Contrast checker → · Palette generator →

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