#337227#337227

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

Color values

HEX#337227
RGBrgb(51, 114, 39)
HSLhsl(110, 49%, 30%)
HSVhsv(110, 66%, 45%)
CMYKcmyk(55.3%, 0%, 65.8%, 55.3%)
CIE-LABlab(42.59, -35.74, 34.54)
CIE-LCHlch(42.59, 49.70, 135.97°)
OKLaboklab(49.31% -0.0978 0.0803)
OKLCHoklch(49.31% 0.127 140.6)
XYZxyz(7.7484, 12.8843, 3.9977)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337227 #662772
analogous
#597227 #337227 #277240
triadic
#337227 #273372 #722733
tetradic
#337227 #275972 #662772 #724027
square
#337227 #275972 #662772 #724027
split-complementary
#337227 #402772 #722759
monochromatic
#0A1708 #1F4417 #337227 #47A037 #63C350

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337227#FFFFFF#000000##FFFFFF
##3372271.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)
#75681E
Deuteranopia (green-blind)
#6D622D
Tritanopia (blue-blind)
#2C6E62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #337227;
/* rgb */ color: rgb(51, 114, 39);
/* oklch */ color: oklch(49.3% 0.127 140.6);
Tailwind
colors: {
  custom: {
    50: '#719b64',
    500: '#337227',
    950: '#000000',
  },
}
SCSS
$custom: #337227;
$custom-light: #719b64;
$custom-dark: #000000;
JSON
{
  "hex": "#337227",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 110.4,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.49311,
    "c": 0.12656,
    "h": 140.6
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#337227
secondary
#9750A4
accent
#4FD9C3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #337227

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

Preview Lab → · Contrast checker → · Palette generator →

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