#337945#337945

#337945 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.7% C 0.108 H 149.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#337945
RGBrgb(51, 121, 69)
HSLhsl(135, 41%, 34%)
HSVhsv(135, 58%, 47%)
CMYKcmyk(57.9%, 0%, 43%, 52.5%)
CIE-LABlab(45.37, -34.32, 22.05)
CIE-LCHlch(45.37, 40.79, 147.28°)
OKLaboklab(51.73% -0.0929 0.0546)
OKLCHoklch(51.73% 0.108 149.6)
XYZxyz(9.2761, 14.8074, 7.9984)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337945 #793367
analogous
#447933 #337945 #337968
triadic
#337945 #453379 #794533
tetradic
#337945 #334479 #793367 #796833
square
#337945 #334479 #793367 #796833
split-complementary
#337945 #683379 #793344
monochromatic
#0F2314 #214E2C #337945 #45A45E #67BF7E

Accessibility & contrast

On white

5.30
#337945 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#337945 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337945
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337945#FFFFFF#000000##FFFFFF
##3379451.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F41
Deuteranopia (green-blind)
#706948
Tritanopia (blue-blind)
#22776C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337945;
/* rgb */ color: rgb(51, 121, 69);
/* oklch */ color: oklch(51.7% 0.108 149.6);
Tailwind
colors: {
  custom: {
    50: '#71a079',
    500: '#337945',
    950: '#000000',
  },
}
SCSS
$custom: #337945;
$custom-light: #71a079;
$custom-dark: #000000;
JSON
{
  "hex": "#337945",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 69
  },
  "hsl": {
    "h": 135.429,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.51728,
    "c": 0.10777,
    "h": 149.6
  },
  "luminance": 0.14808
}

Semantic roles & 50–950 ramp

primary
#337945
secondary
#A76195
accent
#57B1D1
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #337945

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

Preview Lab → · Contrast checker → · Palette generator →

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