#337511#337511

#337511 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.0% C 0.145 H 137.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#337511
RGBrgb(51, 117, 17)
HSLhsl(100, 75%, 26%)
HSVhsv(100, 85%, 46%)
CMYKcmyk(56.4%, 0%, 85.5%, 54.1%)
CIE-LABlab(43.46, -38.75, 44.07)
CIE-LCHlch(43.46, 58.68, 131.32°)
OKLaboklab(49.98% -0.1074 0.0972)
OKLCHoklch(49.98% 0.145 137.9)
XYZxyz(7.8274, 13.4662, 2.7170)
Luminance0.1347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337511 #531175
analogous
#657511 #337511 #117521
triadic
#337511 #113375 #751133
tetradic
#337511 #116575 #531175 #752111
square
#337511 #116575 #531175 #752111
split-complementary
#337511 #211175 #751165
monochromatic
#0C1B04 #1C4009 #337511 #4AAA19 #62DF22

Accessibility & contrast

On white

5.69
#337511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#337511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337511
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337511#FFFFFF#000000##FFFFFF
##3375111.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#2E7163
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #337511;
/* rgb */ color: rgb(51, 117, 17);
/* oklch */ color: oklch(50.0% 0.145 137.9);
Tailwind
colors: {
  custom: {
    50: '#739d5a',
    500: '#337511',
    950: '#000000',
  },
}
SCSS
$custom: #337511;
$custom-light: #739d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#337511",
  "rgb": {
    "r": 51,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 99.6,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49976,
    "c": 0.1448,
    "h": 137.9
  },
  "luminance": 0.13467
}

Semantic roles & 50–950 ramp

primary
#337511
secondary
#8436AC
accent
#37F1B2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #337511

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

Preview Lab → · Contrast checker → · Palette generator →

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