#337226#337226

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

Color values

HEX#337226
RGBrgb(51, 114, 38)
HSLhsl(110, 50%, 30%)
HSVhsv(110, 67%, 45%)
CMYKcmyk(55.3%, 0%, 66.7%, 55.3%)
CIE-LABlab(42.58, -35.84, 35.01)
CIE-LCHlch(42.58, 50.10, 135.68°)
OKLaboklab(49.3% -0.0982 0.0812)
OKLCHoklch(49.3% 0.127 140.4)
XYZxyz(7.7321, 12.8778, 3.9116)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337226 #652672
analogous
#597226 #337226 #26723F
triadic
#337226 #263372 #722633
tetradic
#337226 #265972 #652672 #723F26
square
#337226 #265972 #652672 #723F26
split-complementary
#337226 #3F2672 #722659
monochromatic
#0A1708 #1E4417 #337226 #48A035 #62C44E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337226#FFFFFF#000000##FFFFFF
##3372261.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)
#75681D
Deuteranopia (green-blind)
#6D622C
Tritanopia (blue-blind)
#2C6E62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #337226;
/* rgb */ color: rgb(51, 114, 38);
/* oklch */ color: oklch(49.3% 0.127 140.4);
Tailwind
colors: {
  custom: {
    50: '#719b64',
    500: '#337226',
    950: '#000000',
  },
}
SCSS
$custom: #337226;
$custom-light: #719b64;
$custom-dark: #000000;
JSON
{
  "hex": "#337226",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 109.737,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.493,
    "c": 0.12739,
    "h": 140.4
  },
  "luminance": 0.12878
}

Semantic roles & 50–950 ramp

primary
#337226
secondary
#964FA5
accent
#4EDAC2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #337226

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

Preview Lab → · Contrast checker → · Palette generator →

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