#337829#337829

#337829 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.133 H 141.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#337829
RGBrgb(51, 120, 41)
HSLhsl(112, 49%, 32%)
HSVhsv(112, 66%, 47%)
CMYKcmyk(57.5%, 0%, 65.8%, 52.9%)
CIE-LABlab(44.65, -38.01, 35.89)
CIE-LCHlch(44.65, 52.28, 136.64°)
OKLaboklab(51.02% -0.1038 0.0834)
OKLCHoklch(51.02% 0.133 141.2)
XYZxyz(8.4815, 14.2961, 4.4099)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337829 #6E2978
analogous
#5B7829 #337829 #297847
triadic
#337829 #293378 #782933
tetradic
#337829 #295B78 #6E2978 #784729
square
#337829 #295B78 #6E2978 #784729
split-complementary
#337829 #472978 #78295B
monochromatic
#0C1D0A #204A19 #337829 #46A639 #64C556

Accessibility & contrast

On white

5.44
#337829 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#337829 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337829
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337829#FFFFFF#000000##FFFFFF
##3378291.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D20
Deuteranopia (green-blind)
#726730
Tritanopia (blue-blind)
#2A7467
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #337829;
/* rgb */ color: rgb(51, 120, 41);
/* oklch */ color: oklch(51.0% 0.133 141.2);
Tailwind
colors: {
  custom: {
    50: '#72a066',
    500: '#337829',
    950: '#000000',
  },
}
SCSS
$custom: #337829;
$custom-light: #72a066;
$custom-dark: #000000;
JSON
{
  "hex": "#337829",
  "rgb": {
    "r": 51,
    "g": 120,
    "b": 41
  },
  "hsl": {
    "h": 112.405,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51019,
    "c": 0.13321,
    "h": 141.2
  },
  "luminance": 0.14297
}

Semantic roles & 50–950 ramp

primary
#337829
secondary
#9F53AA
accent
#4FD9C7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #337829

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

Preview Lab → · Contrast checker → · Palette generator →

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