#337028#337028

#337028 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.8% C 0.123 H 140.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#337028
RGBrgb(51, 112, 40)
HSLhsl(111, 47%, 30%)
HSVhsv(111, 64%, 44%)
CMYKcmyk(54.5%, 0%, 64.3%, 56.1%)
CIE-LABlab(41.91, -34.77, 33.30)
CIE-LCHlch(41.91, 48.15, 136.24°)
OKLaboklab(48.76% -0.0951 0.0778)
OKLCHoklch(48.76% 0.123 140.7)
XYZxyz(7.5421, 12.4448, 4.0117)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337028 #652870
analogous
#577028 #337028 #287041
triadic
#337028 #283370 #702833
tetradic
#337028 #285770 #652870 #704128
square
#337028 #285770 #652870 #704128
split-complementary
#337028 #412870 #702857
monochromatic
#0A1708 #1E4318 #337028 #489D38 #62C151

Accessibility & contrast

On white

6.02
#337028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#337028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337028
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337028#FFFFFF#000000##FFFFFF
##3370281.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736620
Deuteranopia (green-blind)
#6B612E
Tritanopia (blue-blind)
#2C6C61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #337028;
/* rgb */ color: rgb(51, 112, 40);
/* oklch */ color: oklch(48.8% 0.123 140.7);
Tailwind
colors: {
  custom: {
    50: '#719a65',
    500: '#337028',
    950: '#000000',
  },
}
SCSS
$custom: #337028;
$custom-light: #719a65;
$custom-dark: #000000;
JSON
{
  "hex": "#337028",
  "rgb": {
    "r": 51,
    "g": 112,
    "b": 40
  },
  "hsl": {
    "h": 110.833,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4876,
    "c": 0.12288,
    "h": 140.7
  },
  "luminance": 0.12445
}

Semantic roles & 50–950 ramp

primary
#337028
secondary
#9651A2
accent
#51D7C2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #337028

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

Preview Lab → · Contrast checker → · Palette generator →

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