#337013#337013

#337013 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.6% C 0.138 H 137.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#337013
RGBrgb(51, 112, 19)
HSLhsl(99, 71%, 26%)
HSVhsv(99, 83%, 44%)
CMYKcmyk(54.5%, 0%, 83%, 56.1%)
CIE-LABlab(41.75, -36.61, 41.87)
CIE-LCHlch(41.75, 55.62, 131.16°)
OKLaboklab(48.57% -0.1015 0.0929)
OKLCHoklch(48.57% 0.138 137.5)
XYZxyz(7.2767, 12.3386, 2.6141)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337013 #501370
analogous
#617013 #337013 #137022
triadic
#337013 #133370 #701333
tetradic
#337013 #136170 #501370 #702213
square
#337013 #136170 #501370 #702213
split-complementary
#337013 #221370 #701361
monochromatic
#0C1A04 #1B3C0A #337013 #4BA41C #63D925

Accessibility & contrast

On white

6.06
#337013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#337013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337013
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337013#FFFFFF#000000##FFFFFF
##3370131.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#2F6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #337013;
/* rgb */ color: rgb(51, 112, 19);
/* oklch */ color: oklch(48.6% 0.138 137.5);
Tailwind
colors: {
  custom: {
    50: '#729a5a',
    500: '#337013',
    950: '#000000',
  },
}
SCSS
$custom: #337013;
$custom-light: #729a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#337013",
  "rgb": {
    "r": 51,
    "g": 112,
    "b": 19
  },
  "hsl": {
    "h": 99.355,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48571,
    "c": 0.13758,
    "h": 137.5
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

primary
#337013
secondary
#8138A7
accent
#3AEEB0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337013

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

Preview Lab → · Contrast checker → · Palette generator →

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