#337118#337118

#337118 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.136 H 138.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#337118
RGBrgb(51, 113, 24)
HSLhsl(102, 65%, 27%)
HSVhsv(102, 79%, 44%)
CMYKcmyk(54.9%, 0%, 78.8%, 55.7%)
CIE-LABlab(42.12, -36.69, 40.48)
CIE-LCHlch(42.12, 54.63, 132.19°)
OKLaboklab(48.89% -0.1014 0.0908)
OKLCHoklch(48.89% 0.136 138.2)
XYZxyz(7.4350, 12.5794, 2.9003)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337118 #561871
analogous
#607118 #337118 #18712A
triadic
#337118 #183371 #711833
tetradic
#337118 #186071 #561871 #712A18
square
#337118 #186071 #561871 #712A18
split-complementary
#337118 #2A1871 #711860
monochromatic
#0B1905 #1C3F0D #337118 #4AA323 #62D330

Accessibility & contrast

On white

5.97
#337118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#337118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337118
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337118#FFFFFF#000000##FFFFFF
##3371181.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#6D6121
Tritanopia (blue-blind)
#2E6D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #337118;
/* rgb */ color: rgb(51, 113, 24);
/* oklch */ color: oklch(48.9% 0.136 138.2);
Tailwind
colors: {
  custom: {
    50: '#729a5c',
    500: '#337118',
    950: '#000000',
  },
}
SCSS
$custom: #337118;
$custom-light: #729a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#337118",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 101.798,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48888,
    "c": 0.13609,
    "h": 138.2
  },
  "luminance": 0.1258
}

Semantic roles & 50–950 ramp

primary
#337118
secondary
#873EA6
accent
#40E8B5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337118

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

Preview Lab → · Contrast checker → · Palette generator →

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