#337111#337111

#337111 is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 48.8% C 0.140 H 137.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#337111
RGBrgb(51, 113, 17)
HSLhsl(99, 74%, 25%)
HSVhsv(99, 85%, 44%)
CMYKcmyk(54.9%, 0%, 85%, 55.7%)
CIE-LABlab(42.08, -37.13, 42.81)
CIE-LCHlch(42.08, 56.67, 130.94°)
OKLaboklab(48.84% -0.103 0.0945)
OKLCHoklch(48.84% 0.14 137.5)
XYZxyz(7.3713, 12.5540, 2.5649)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337111 #4F1171
analogous
#637111 #337111 #11711F
triadic
#337111 #113371 #711133
tetradic
#337111 #116371 #4F1171 #711F11
square
#337111 #116371 #4F1171 #711F11
split-complementary
#337111 #1F1171 #711163
monochromatic
#0C1B04 #1B3C09 #337111 #4BA619 #63DB21

Accessibility & contrast

On white

5.98
#337111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#337111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337111
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337111#FFFFFF#000000##FFFFFF
##3371111.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#2F6D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #337111;
/* rgb */ color: rgb(51, 113, 17);
/* oklch */ color: oklch(48.8% 0.140 137.5);
Tailwind
colors: {
  custom: {
    50: '#729a59',
    500: '#337111',
    950: '#000000',
  },
}
SCSS
$custom: #337111;
$custom-light: #729a59;
$custom-dark: #000000;
JSON
{
  "hex": "#337111",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 98.75,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48843,
    "c": 0.13983,
    "h": 137.5
  },
  "luminance": 0.12555
}

Semantic roles & 50–950 ramp

primary
#337111
secondary
#8036A8
accent
#37F1AF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337111

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

Preview Lab → · Contrast checker → · Palette generator →

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