#337214#337214

#337214 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.140 H 137.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#337214
RGBrgb(51, 114, 20)
HSLhsl(100, 70%, 26%)
HSVhsv(100, 82%, 45%)
CMYKcmyk(55.3%, 0%, 82.5%, 55.3%)
CIE-LABlab(42.44, -37.37, 42.19)
CIE-LCHlch(42.44, 56.36, 131.53°)
OKLaboklab(49.14% -0.1035 0.0937)
OKLCHoklch(49.14% 0.14 137.8)
XYZxyz(7.5086, 12.7884, 2.7344)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337214 #531472
analogous
#627214 #337214 #147224
triadic
#337214 #143372 #721433
tetradic
#337214 #146272 #531472 #722414
square
#337214 #146272 #531472 #722414
split-complementary
#337214 #241472 #721462
monochromatic
#0C1A05 #1C3E0B #337214 #4AA61D #62D927

Accessibility & contrast

On white

5.90
#337214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#337214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337214
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337214#FFFFFF#000000##FFFFFF
##3372141.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#2E6E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337214;
/* rgb */ color: rgb(51, 114, 20);
/* oklch */ color: oklch(49.1% 0.140 137.8);
Tailwind
colors: {
  custom: {
    50: '#729b5a',
    500: '#337214',
    950: '#000000',
  },
}
SCSS
$custom: #337214;
$custom-light: #729b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#337214",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 100.213,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49144,
    "c": 0.13961,
    "h": 137.8
  },
  "luminance": 0.12789
}

Semantic roles & 50–950 ramp

primary
#337214
secondary
#8439A8
accent
#3BEDB2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337214

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

Preview Lab → · Contrast checker → · Palette generator →

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