#337112#337112

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

Color values

HEX#337112
RGBrgb(51, 113, 18)
HSLhsl(99, 73%, 26%)
HSVhsv(99, 84%, 44%)
CMYKcmyk(54.9%, 0%, 84.1%, 55.7%)
CIE-LABlab(42.09, -37.08, 42.51)
CIE-LCHlch(42.09, 56.41, 131.10°)
OKLaboklab(48.85% -0.1028 0.0941)
OKLCHoklch(48.85% 0.139 137.6)
XYZxyz(7.3793, 12.5572, 2.6071)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337112 #501271
analogous
#627112 #337112 #127120
triadic
#337112 #123371 #711233
tetradic
#337112 #126271 #501271 #712012
square
#337112 #126271 #501271 #712012
split-complementary
#337112 #201271 #711262
monochromatic
#0C1A04 #1B3C0A #337112 #4BA61A #63DB23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337112#FFFFFF#000000##FFFFFF
##3371121.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)
#2E6D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #337112;
/* rgb */ color: rgb(51, 113, 18);
/* oklch */ color: oklch(48.8% 0.139 137.6);
Tailwind
colors: {
  custom: {
    50: '#729a59',
    500: '#337112',
    950: '#000000',
  },
}
SCSS
$custom: #337112;
$custom-light: #729a59;
$custom-dark: #000000;
JSON
{
  "hex": "#337112",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 99.158,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48849,
    "c": 0.13935,
    "h": 137.6
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#337112
secondary
#8137A8
accent
#39EFB0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337112

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

Preview Lab → · Contrast checker → · Palette generator →

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