#337817#337817

#337817 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.146 H 138.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#337817
RGBrgb(51, 120, 23)
HSLhsl(103, 68%, 28%)
HSVhsv(103, 81%, 47%)
CMYKcmyk(57.5%, 0%, 80.8%, 52.9%)
CIE-LABlab(44.52, -39.58, 43.16)
CIE-LCHlch(44.52, 58.56, 132.53°)
OKLaboklab(50.86% -0.1093 0.0962)
OKLCHoklch(50.86% 0.146 138.6)
XYZxyz(8.2361, 14.1979, 3.1169)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337817 #5C1778
analogous
#637817 #337817 #17782B
triadic
#337817 #173378 #781733
tetradic
#337817 #176378 #5C1778 #782B17
square
#337817 #176378 #5C1778 #782B17
split-complementary
#337817 #2B1778 #781763
monochromatic
#0B1A05 #1D450D #337817 #49AB21 #62D832

Accessibility & contrast

On white

5.47
#337817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#337817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337817
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337817#FFFFFF#000000##FFFFFF
##3378171.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#2C7466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #337817;
/* rgb */ color: rgb(51, 120, 23);
/* oklch */ color: oklch(50.9% 0.146 138.6);
Tailwind
colors: {
  custom: {
    50: '#73a05d',
    500: '#337817',
    950: '#000000',
  },
}
SCSS
$custom: #337817;
$custom-light: #73a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#337817",
  "rgb": {
    "r": 51,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 102.68,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50859,
    "c": 0.14557,
    "h": 138.6
  },
  "luminance": 0.14199
}

Semantic roles & 50–950 ramp

primary
#337817
secondary
#8D3EAD
accent
#3DEBB9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #337817

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

Preview Lab → · Contrast checker → · Palette generator →

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