#337311#337311

#337311 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.4% C 0.142 H 137.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#337311
RGBrgb(51, 115, 17)
HSLhsl(99, 74%, 26%)
HSVhsv(99, 85%, 45%)
CMYKcmyk(55.7%, 0%, 85.2%, 54.9%)
CIE-LABlab(42.77, -37.95, 43.44)
CIE-LCHlch(42.77, 57.68, 131.14°)
OKLaboklab(49.41% -0.1052 0.0959)
OKLCHoklch(49.41% 0.142 137.7)
XYZxyz(7.5969, 13.0052, 2.6401)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337311 #511173
analogous
#647311 #337311 #117320
triadic
#337311 #113373 #731133
tetradic
#337311 #116473 #511173 #732011
square
#337311 #116473 #511173 #732011
split-complementary
#337311 #201173 #731164
monochromatic
#0C1B04 #1B3E09 #337311 #4BA819 #62DE21

Accessibility & contrast

On white

5.83
#337311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#337311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337311
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337311#FFFFFF#000000##FFFFFF
##3373111.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#2E6F61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #337311;
/* rgb */ color: rgb(51, 115, 17);
/* oklch */ color: oklch(49.4% 0.142 137.7);
Tailwind
colors: {
  custom: {
    50: '#739c59',
    500: '#337311',
    950: '#000000',
  },
}
SCSS
$custom: #337311;
$custom-light: #739c59;
$custom-dark: #000000;
JSON
{
  "hex": "#337311",
  "rgb": {
    "r": 51,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 99.184,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4941,
    "c": 0.14232,
    "h": 137.7
  },
  "luminance": 0.13006
}

Semantic roles & 50–950 ramp

primary
#337311
secondary
#8236AA
accent
#37F1B0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #337311

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

Preview Lab → · Contrast checker → · Palette generator →

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