#337223#337223

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

Color values

HEX#337223
RGBrgb(51, 114, 35)
HSLhsl(108, 53%, 29%)
HSVhsv(108, 69%, 45%)
CMYKcmyk(55.3%, 0%, 69.3%, 55.3%)
CIE-LABlab(42.55, -36.16, 36.36)
CIE-LCHlch(42.55, 51.28, 134.84°)
OKLaboklab(49.27% -0.0992 0.0837)
OKLCHoklch(49.27% 0.13 139.9)
XYZxyz(7.6856, 12.8592, 3.6669)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337223 #622372
analogous
#5B7223 #337223 #23723B
triadic
#337223 #233372 #722333
tetradic
#337223 #235B72 #622372 #723B23
square
#337223 #235B72 #622372 #723B23
split-complementary
#337223 #3B2372 #72235B
monochromatic
#0A1707 #1E4315 #337223 #48A131 #62C748

Accessibility & contrast

On white

5.88
#337223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#337223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337223
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337223#FFFFFF#000000##FFFFFF
##3372231.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756819
Deuteranopia (green-blind)
#6D622A
Tritanopia (blue-blind)
#2C6E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337223;
/* rgb */ color: rgb(51, 114, 35);
/* oklch */ color: oklch(49.3% 0.130 139.9);
Tailwind
colors: {
  custom: {
    50: '#719b62',
    500: '#337223',
    950: '#000000',
  },
}
SCSS
$custom: #337223;
$custom-light: #719b62;
$custom-dark: #000000;
JSON
{
  "hex": "#337223",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 107.848,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49267,
    "c": 0.1298,
    "h": 139.9
  },
  "luminance": 0.1286
}

Semantic roles & 50–950 ramp

primary
#337223
secondary
#934CA5
accent
#4BDCBF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #337223

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

Preview Lab → · Contrast checker → · Palette generator →

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