#337126#337126

#337126 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.126 H 140.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#337126
RGBrgb(51, 113, 38)
HSLhsl(110, 50%, 30%)
HSVhsv(110, 66%, 44%)
CMYKcmyk(54.9%, 0%, 66.4%, 55.7%)
CIE-LABlab(42.24, -35.42, 34.63)
CIE-LCHlch(42.24, 49.53, 135.65°)
OKLaboklab(49.02% -0.097 0.0804)
OKLCHoklch(49.02% 0.126 140.4)
XYZxyz(7.6199, 12.6534, 3.8742)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337126 #642671
analogous
#597126 #337126 #26713F
triadic
#337126 #263371 #712633
tetradic
#337126 #265971 #642671 #713F26
square
#337126 #265971 #642671 #713F26
split-complementary
#337126 #3F2671 #712659
monochromatic
#0A1708 #1E4317 #337126 #489F35 #62C34E

Accessibility & contrast

On white

5.95
#337126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#337126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337126
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337126#FFFFFF#000000##FFFFFF
##3371261.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671D
Deuteranopia (green-blind)
#6C622C
Tritanopia (blue-blind)
#2C6D61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337126;
/* rgb */ color: rgb(51, 113, 38);
/* oklch */ color: oklch(49.0% 0.126 140.4);
Tailwind
colors: {
  custom: {
    50: '#719a64',
    500: '#337126',
    950: '#000000',
  },
}
SCSS
$custom: #337126;
$custom-light: #719a64;
$custom-dark: #000000;
JSON
{
  "hex": "#337126",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 38
  },
  "hsl": {
    "h": 109.6,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49018,
    "c": 0.126,
    "h": 140.4
  },
  "luminance": 0.12654
}

Semantic roles & 50–950 ramp

primary
#337126
secondary
#954FA4
accent
#4FD9C1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #337126

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

Preview Lab → · Contrast checker → · Palette generator →

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