#337229#337229

#337229 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.125 H 141.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#337229
RGBrgb(51, 114, 41)
HSLhsl(112, 47%, 30%)
HSVhsv(112, 64%, 45%)
CMYKcmyk(55.3%, 0%, 64%, 55.3%)
CIE-LABlab(42.61, -35.51, 33.60)
CIE-LCHlch(42.61, 48.88, 136.58°)
OKLaboklab(49.34% -0.0971 0.0785)
OKLCHoklch(49.34% 0.125 141)
XYZxyz(7.7824, 12.8979, 4.1768)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337229 #682972
analogous
#577229 #337229 #297243
triadic
#337229 #293372 #722933
tetradic
#337229 #295772 #682972 #724329
square
#337229 #295772 #682972 #724329
split-complementary
#337229 #432972 #722957
monochromatic
#0B1809 #1F4519 #337229 #479F39 #63C154

Accessibility & contrast

On white

5.87
#337229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#337229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337229
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337229#FFFFFF#000000##FFFFFF
##3372291.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756821
Deuteranopia (green-blind)
#6D632F
Tritanopia (blue-blind)
#2C6E62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #337229;
/* rgb */ color: rgb(51, 114, 41);
/* oklch */ color: oklch(49.3% 0.125 141.0);
Tailwind
colors: {
  custom: {
    50: '#719b66',
    500: '#337229',
    950: '#000000',
  },
}
SCSS
$custom: #337229;
$custom-light: #719b66;
$custom-dark: #000000;
JSON
{
  "hex": "#337229",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 111.781,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49335,
    "c": 0.12485,
    "h": 141
  },
  "luminance": 0.12899
}

Semantic roles & 50–950 ramp

primary
#337229
secondary
#9953A4
accent
#51D7C4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #337229

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

Preview Lab → · Contrast checker → · Palette generator →

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