#337728#337728

#337728 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.133 H 141.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#337728
RGBrgb(51, 119, 40)
HSLhsl(112, 50%, 31%)
HSVhsv(112, 66%, 47%)
CMYKcmyk(57.1%, 0%, 66.4%, 53.3%)
CIE-LABlab(44.30, -37.71, 35.97)
CIE-LCHlch(44.30, 52.12, 136.35°)
OKLaboklab(50.73% -0.1031 0.0835)
OKLCHoklch(50.73% 0.133 141)
XYZxyz(8.3447, 14.0500, 4.2793)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337728 #6C2877
analogous
#5A7728 #337728 #287744
triadic
#337728 #283377 #772833
tetradic
#337728 #285A77 #6C2877 #774428
square
#337728 #285A77 #6C2877 #774428
split-complementary
#337728 #442877 #77285A
monochromatic
#0C1B09 #1F4919 #337728 #47A537 #64C554

Accessibility & contrast

On white

5.51
#337728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#337728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337728
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337728#FFFFFF#000000##FFFFFF
##3377281.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1E
Deuteranopia (green-blind)
#71672F
Tritanopia (blue-blind)
#2A7366
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #337728;
/* rgb */ color: rgb(51, 119, 40);
/* oklch */ color: oklch(50.7% 0.133 141.0);
Tailwind
colors: {
  custom: {
    50: '#729f66',
    500: '#337728',
    950: '#000000',
  },
}
SCSS
$custom: #337728;
$custom-light: #729f66;
$custom-dark: #000000;
JSON
{
  "hex": "#337728",
  "rgb": {
    "r": 51,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 111.646,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50727,
    "c": 0.13266,
    "h": 141
  },
  "luminance": 0.14051
}

Semantic roles & 50–950 ramp

primary
#337728
secondary
#9D52A9
accent
#4FD9C6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #337728

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

Preview Lab → · Contrast checker → · Palette generator →

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