#337331#337331

#337331 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.7% C 0.119 H 143.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#337331
RGBrgb(51, 115, 49)
HSLhsl(118, 40%, 32%)
HSVhsv(118, 57%, 45%)
CMYKcmyk(55.7%, 0%, 57.4%, 54.9%)
CIE-LABlab(43.04, -34.92, 30.05)
CIE-LCHlch(43.04, 46.07, 139.28°)
OKLaboklab(49.72% -0.095 0.0716)
OKLCHoklch(49.72% 0.119 143)
XYZxyz(8.0499, 13.1864, 5.0262)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337331 #713173
analogous
#547331 #337331 #317350
triadic
#337331 #313373 #733133
tetradic
#337331 #315473 #713173 #735031
square
#337331 #315473 #713173 #735031
split-complementary
#337331 #503173 #733154
monochromatic
#0D1D0C #20481F #337331 #469E43 #65BC62

Accessibility & contrast

On white

5.77
#337331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#337331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337331
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337331#FFFFFF#000000##FFFFFF
##3373311.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692B
Deuteranopia (green-blind)
#6D6336
Tritanopia (blue-blind)
#2A7064
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #337331;
/* rgb */ color: rgb(51, 115, 49);
/* oklch */ color: oklch(49.7% 0.119 143.0);
Tailwind
colors: {
  custom: {
    50: '#719c6b',
    500: '#337331',
    950: '#000000',
  },
}
SCSS
$custom: #337331;
$custom-light: #719c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#337331",
  "rgb": {
    "r": 51,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 118.182,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.49721,
    "c": 0.11897,
    "h": 143
  },
  "luminance": 0.13187
}

Semantic roles & 50–950 ramp

primary
#337331
secondary
#A25CA4
accent
#58D0CC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #337331

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

Preview Lab → · Contrast checker → · Palette generator →

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