#337818#337818

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

Color values

HEX#337818
RGBrgb(51, 120, 24)
HSLhsl(103, 67%, 28%)
HSVhsv(103, 80%, 47%)
CMYKcmyk(57.5%, 0%, 80%, 52.9%)
CIE-LABlab(44.52, -39.52, 42.82)
CIE-LCHlch(44.52, 58.27, 132.71°)
OKLaboklab(50.87% -0.109 0.0956)
OKLCHoklch(50.87% 0.145 138.7)
XYZxyz(8.2463, 14.2020, 3.1707)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337818 #5D1878
analogous
#637818 #337818 #18782D
triadic
#337818 #183378 #781833
tetradic
#337818 #186378 #5D1878 #782D18
square
#337818 #186378 #5D1878 #782D18
split-complementary
#337818 #2D1878 #781863
monochromatic
#0B1A05 #1D450E #337818 #49AB22 #62D634

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337818#FFFFFF#000000##FFFFFF
##3378181.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)
#7C6D01
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#2C7466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #337818;
/* rgb */ color: rgb(51, 120, 24);
/* oklch */ color: oklch(50.9% 0.145 138.7);
Tailwind
colors: {
  custom: {
    50: '#73a05d',
    500: '#337818',
    950: '#000000',
  },
}
SCSS
$custom: #337818;
$custom-light: #73a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#337818",
  "rgb": {
    "r": 51,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 103.125,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50866,
    "c": 0.14503,
    "h": 138.7
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#337818
secondary
#8E3FAD
accent
#3EEAB9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #337818

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

Preview Lab → · Contrast checker → · Palette generator →

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