#337034#337034

#337034 is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.9% C 0.112 H 143.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#337034
RGBrgb(51, 112, 52)
HSLhsl(121, 37%, 32%)
HSVhsv(121, 54%, 44%)
CMYKcmyk(54.5%, 0%, 53.6%, 56.1%)
CIE-LABlab(42.06, -33.18, 27.27)
CIE-LCHlch(42.06, 42.95, 140.58°)
OKLaboklab(48.93% -0.0902 0.0657)
OKLCHoklch(48.93% 0.112 143.9)
XYZxyz(7.7788, 12.5395, 5.2586)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337034 #70336F
analogous
#517033 #337034 #337053
triadic
#337034 #343370 #703433
tetradic
#337034 #335170 #70336F #705333
square
#337034 #335170 #70336F #705333
split-complementary
#337034 #533370 #703351
monochromatic
#0D1C0D #204620 #337034 #469A48 #65B966

Accessibility & contrast

On white

5.99
#337034 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#337034 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337034
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337034#FFFFFF#000000##FFFFFF
##3370341.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72672F
Deuteranopia (green-blind)
#6A6138
Tritanopia (blue-blind)
#2A6D62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #337034;
/* rgb */ color: rgb(51, 112, 52);
/* oklch */ color: oklch(48.9% 0.112 143.9);
Tailwind
colors: {
  custom: {
    50: '#709a6d',
    500: '#337034',
    950: '#000000',
  },
}
SCSS
$custom: #337034;
$custom-light: #709a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#337034",
  "rgb": {
    "r": 51,
    "g": 112,
    "b": 52
  },
  "hsl": {
    "h": 120.984,
    "s": 37.423,
    "l": 31.961
  },
  "oklch": {
    "l": 0.48928,
    "c": 0.11155,
    "h": 143.9
  },
  "luminance": 0.1254
}

Semantic roles & 50–950 ramp

primary
#337034
secondary
#A15EA0
accent
#5ACCCD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #337034

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

Preview Lab → · Contrast checker → · Palette generator →

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