#337011#337011

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

Color values

HEX#337011
RGBrgb(51, 112, 17)
HSLhsl(99, 74%, 25%)
HSVhsv(99, 85%, 44%)
CMYKcmyk(54.5%, 0%, 84.8%, 56.1%)
CIE-LABlab(41.74, -36.73, 42.49)
CIE-LCHlch(41.74, 56.17, 130.83°)
OKLaboklab(48.56% -0.1019 0.0939)
OKLCHoklch(48.56% 0.139 137.4)
XYZxyz(7.2604, 12.3321, 2.5279)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337011 #4E1170
analogous
#627011 #337011 #11701E
triadic
#337011 #113370 #701133
tetradic
#337011 #116270 #4E1170 #701E11
square
#337011 #116270 #4E1170 #701E11
split-complementary
#337011 #1E1170 #701162
monochromatic
#0C1B04 #1B3B09 #337011 #4BA519 #63DA21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337011#FFFFFF#000000##FFFFFF
##3370111.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)
#6C611D
Tritanopia (blue-blind)
#2F6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #337011;
/* rgb */ color: rgb(51, 112, 17);
/* oklch */ color: oklch(48.6% 0.139 137.4);
Tailwind
colors: {
  custom: {
    50: '#729a59',
    500: '#337011',
    950: '#000000',
  },
}
SCSS
$custom: #337011;
$custom-light: #729a59;
$custom-dark: #000000;
JSON
{
  "hex": "#337011",
  "rgb": {
    "r": 51,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 98.526,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4856,
    "c": 0.13857,
    "h": 137.4
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#337011
secondary
#7F35A7
accent
#37F0AE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337011

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

Preview Lab → · Contrast checker → · Palette generator →

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