#337127#337127

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

Color values

HEX#337127
RGBrgb(51, 113, 39)
HSLhsl(110, 49%, 30%)
HSVhsv(110, 65%, 44%)
CMYKcmyk(54.9%, 0%, 65.5%, 55.7%)
CIE-LABlab(42.25, -35.31, 34.16)
CIE-LCHlch(42.25, 49.13, 135.95°)
OKLaboklab(49.03% -0.0967 0.0795)
OKLCHoklch(49.03% 0.125 140.6)
XYZxyz(7.6362, 12.6599, 3.9603)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337127 #652771
analogous
#587127 #337127 #277140
triadic
#337127 #273371 #712733
tetradic
#337127 #275871 #652771 #714027
square
#337127 #275871 #652771 #714027
split-complementary
#337127 #402771 #712758
monochromatic
#0A1708 #1E4417 #337127 #489E37 #62C350

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337127#FFFFFF#000000##FFFFFF
##3371271.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)
#74671E
Deuteranopia (green-blind)
#6C622D
Tritanopia (blue-blind)
#2C6D61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337127;
/* rgb */ color: rgb(51, 113, 39);
/* oklch */ color: oklch(49.0% 0.125 140.6);
Tailwind
colors: {
  custom: {
    50: '#719a64',
    500: '#337127',
    950: '#000000',
  },
}
SCSS
$custom: #337127;
$custom-light: #719a64;
$custom-dark: #000000;
JSON
{
  "hex": "#337127",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 39
  },
  "hsl": {
    "h": 110.27,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.12515,
    "h": 140.6
  },
  "luminance": 0.12661
}

Semantic roles & 50–950 ramp

primary
#337127
secondary
#9650A3
accent
#50D8C2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #337127

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

Preview Lab → · Contrast checker → · Palette generator →

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