#337428#337428

#337428 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.9% C 0.129 H 140.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#337428
RGBrgb(51, 116, 40)
HSLhsl(111, 49%, 31%)
HSVhsv(111, 66%, 45%)
CMYKcmyk(56%, 0%, 65.5%, 54.5%)
CIE-LABlab(43.28, -36.46, 34.84)
CIE-LCHlch(43.28, 50.43, 136.31°)
OKLaboklab(49.89% -0.0997 0.0811)
OKLCHoklch(49.89% 0.129 140.9)
XYZxyz(7.9933, 13.3471, 4.1621)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337428 #692874
analogous
#597428 #337428 #287443
triadic
#337428 #283374 #742833
tetradic
#337428 #285974 #692874 #744328
square
#337428 #285974 #692874 #744328
split-complementary
#337428 #432874 #742859
monochromatic
#0B1909 #1F4618 #337428 #47A238 #63C453

Accessibility & contrast

On white

5.72
#337428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#337428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337428
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337428#FFFFFF#000000##FFFFFF
##3374281.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A1F
Deuteranopia (green-blind)
#6F642E
Tritanopia (blue-blind)
#2B7064
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #337428;
/* rgb */ color: rgb(51, 116, 40);
/* oklch */ color: oklch(49.9% 0.129 140.9);
Tailwind
colors: {
  custom: {
    50: '#729d65',
    500: '#337428',
    950: '#000000',
  },
}
SCSS
$custom: #337428;
$custom-light: #729d65;
$custom-dark: #000000;
JSON
{
  "hex": "#337428",
  "rgb": {
    "r": 51,
    "g": 116,
    "b": 40
  },
  "hsl": {
    "h": 111.316,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49885,
    "c": 0.12851,
    "h": 140.9
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#337428
secondary
#9A52A6
accent
#50D8C4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #337428

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

Preview Lab → · Contrast checker → · Palette generator →

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