#337914#337914

#337914 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.148 H 138.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#337914
RGBrgb(51, 121, 20)
HSLhsl(102, 72%, 28%)
HSVhsv(102, 83%, 47%)
CMYKcmyk(57.9%, 0%, 83.5%, 52.5%)
CIE-LABlab(44.84, -40.16, 44.44)
CIE-LCHlch(44.84, 59.90, 132.11°)
OKLaboklab(51.12% -0.111 0.0984)
OKLCHoklch(51.12% 0.148 138.4)
XYZxyz(8.3286, 14.4284, 3.0078)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337914 #5A1479
analogous
#657914 #337914 #147927
triadic
#337914 #143379 #791433
tetradic
#337914 #146579 #5A1479 #792714
square
#337914 #146579 #5A1479 #792714
split-complementary
#337914 #271479 #791465
monochromatic
#0B1A04 #1D440B #337914 #49AE1D #62DC2B

Accessibility & contrast

On white

5.40
#337914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#337914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337914
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337914#FFFFFF#000000##FFFFFF
##3379141.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#2C7567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #337914;
/* rgb */ color: rgb(51, 121, 20);
/* oklch */ color: oklch(51.1% 0.148 138.4);
Tailwind
colors: {
  custom: {
    50: '#74a05b',
    500: '#337914',
    950: '#000000',
  },
}
SCSS
$custom: #337914;
$custom-light: #74a05b;
$custom-dark: #000000;
JSON
{
  "hex": "#337914",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 20
  },
  "hsl": {
    "h": 101.584,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51123,
    "c": 0.14834,
    "h": 138.4
  },
  "luminance": 0.14429
}

Semantic roles & 50–950 ramp

primary
#337914
secondary
#8B3AAF
accent
#39EEB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #337914

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

Preview Lab → · Contrast checker → · Palette generator →

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