#337021#337021

#337021 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.7% C 0.129 H 139.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#337021
RGBrgb(51, 112, 33)
HSLhsl(106, 54%, 28%)
HSVhsv(106, 71%, 44%)
CMYKcmyk(54.5%, 0%, 70.5%, 56.1%)
CIE-LABlab(41.85, -35.52, 36.51)
CIE-LCHlch(41.85, 50.93, 134.21°)
OKLaboklab(48.68% -0.0976 0.0837)
OKLCHoklch(48.68% 0.129 139.4)
XYZxyz(7.4336, 12.4014, 3.4405)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337021 #5E2170
analogous
#5A7021 #337021 #217036
triadic
#337021 #213370 #702133
tetradic
#337021 #215A70 #5E2170 #703621
square
#337021 #215A70 #5E2170 #703621
split-complementary
#337021 #362170 #70215A
monochromatic
#0B1807 #1D4113 #337021 #499F2F #62C844

Accessibility & contrast

On white

6.03
#337021 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#337021 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337021
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337021#FFFFFF#000000##FFFFFF
##3370211.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736616
Deuteranopia (green-blind)
#6B6128
Tritanopia (blue-blind)
#2D6C60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #337021;
/* rgb */ color: rgb(51, 112, 33);
/* oklch */ color: oklch(48.7% 0.129 139.4);
Tailwind
colors: {
  custom: {
    50: '#719a61',
    500: '#337021',
    950: '#000000',
  },
}
SCSS
$custom: #337021;
$custom-light: #719a61;
$custom-dark: #000000;
JSON
{
  "hex": "#337021",
  "rgb": {
    "r": 51,
    "g": 112,
    "b": 33
  },
  "hsl": {
    "h": 106.329,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48683,
    "c": 0.12861,
    "h": 139.4
  },
  "luminance": 0.12402
}

Semantic roles & 50–950 ramp

primary
#337021
secondary
#8F49A4
accent
#4ADEBC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #337021

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

Preview Lab → · Contrast checker → · Palette generator →

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