#337045#337045

#337045 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.2% C 0.094 H 151.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#337045
RGBrgb(51, 112, 69)
HSLhsl(138, 37%, 32%)
HSVhsv(138, 54%, 44%)
CMYKcmyk(54.5%, 0%, 38.4%, 56.1%)
CIE-LABlab(42.34, -30.24, 18.06)
CIE-LCHlch(42.34, 35.22, 149.15°)
OKLaboklab(49.25% -0.0821 0.0452)
OKLCHoklch(49.25% 0.094 151.2)
XYZxyz(8.2330, 12.7211, 7.6506)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337045 #70335E
analogous
#407033 #337045 #337064
triadic
#337045 #453370 #704533
tetradic
#337045 #334070 #70335E #706433
square
#337045 #334070 #70335E #706433
split-complementary
#337045 #643370 #703340
monochromatic
#0D1C11 #20462B #337045 #469A5F #65B97D

Accessibility & contrast

On white

5.92
#337045 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#337045 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337045
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337045#FFFFFF#000000##FFFFFF
##3370451.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706842
Deuteranopia (green-blind)
#686248
Tritanopia (blue-blind)
#256E65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337045;
/* rgb */ color: rgb(51, 112, 69);
/* oklch */ color: oklch(49.2% 0.094 151.2);
Tailwind
colors: {
  custom: {
    50: '#709979',
    500: '#337045',
    950: '#000000',
  },
}
SCSS
$custom: #337045;
$custom-light: #709979;
$custom-dark: #000000;
JSON
{
  "hex": "#337045",
  "rgb": {
    "r": 51,
    "g": 112,
    "b": 69
  },
  "hsl": {
    "h": 137.705,
    "s": 37.423,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49248,
    "c": 0.09371,
    "h": 151.2
  },
  "luminance": 0.12722
}

Semantic roles & 50–950 ramp

primary
#337045
secondary
#A15E8D
accent
#5AABCD
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #337045

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

Preview Lab → · Contrast checker → · Palette generator →

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