#337231#337231

#337231 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.4% C 0.117 H 143.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#337231
RGBrgb(51, 114, 49)
HSLhsl(118, 40%, 32%)
HSVhsv(118, 57%, 45%)
CMYKcmyk(55.3%, 0%, 57%, 55.3%)
CIE-LABlab(42.70, -34.49, 29.65)
CIE-LCHlch(42.70, 45.48, 139.31°)
OKLaboklab(49.44% -0.0938 0.0707)
OKLCHoklch(49.44% 0.118 143)
XYZxyz(7.9365, 12.9595, 4.9884)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337231 #703172
analogous
#547231 #337231 #317250
triadic
#337231 #313372 #723133
tetradic
#337231 #315472 #703172 #725031
square
#337231 #315472 #703172 #725031
split-complementary
#337231 #503172 #723154
monochromatic
#0D1C0C #20471F #337231 #469D43 #65BB62

Accessibility & contrast

On white

5.85
#337231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#337231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337231
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337231#FFFFFF#000000##FFFFFF
##3372311.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682B
Deuteranopia (green-blind)
#6C6336
Tritanopia (blue-blind)
#2A6F63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #337231;
/* rgb */ color: rgb(51, 114, 49);
/* oklch */ color: oklch(49.4% 0.117 143.0);
Tailwind
colors: {
  custom: {
    50: '#719b6b',
    500: '#337231',
    950: '#000000',
  },
}
SCSS
$custom: #337231;
$custom-light: #719b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#337231",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 118.154,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49441,
    "c": 0.1175,
    "h": 143
  },
  "luminance": 0.1296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337231

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

Preview Lab → · Contrast checker → · Palette generator →

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