#337213#337213

#337213 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.1% C 0.140 H 137.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#337213
RGBrgb(51, 114, 19)
HSLhsl(100, 71%, 26%)
HSVhsv(100, 83%, 45%)
CMYKcmyk(55.3%, 0%, 83.3%, 55.3%)
CIE-LABlab(42.44, -37.43, 42.52)
CIE-LCHlch(42.44, 56.64, 131.36°)
OKLaboklab(49.14% -0.1037 0.0942)
OKLCHoklch(49.14% 0.14 137.7)
XYZxyz(7.4998, 12.7849, 2.6885)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337213 #521372
analogous
#627213 #337213 #137222
triadic
#337213 #133372 #721333
tetradic
#337213 #136272 #521372 #722213
square
#337213 #136272 #521372 #722213
split-complementary
#337213 #221372 #721362
monochromatic
#0C1A04 #1C3E0A #337213 #4AA61C #62DB25

Accessibility & contrast

On white

5.90
#337213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#337213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337213
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337213#FFFFFF#000000##FFFFFF
##3372131.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6E621E
Tritanopia (blue-blind)
#2E6E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337213;
/* rgb */ color: rgb(51, 114, 19);
/* oklch */ color: oklch(49.1% 0.140 137.7);
Tailwind
colors: {
  custom: {
    50: '#729b5a',
    500: '#337213',
    950: '#000000',
  },
}
SCSS
$custom: #337213;
$custom-light: #729b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#337213",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 99.789,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.14012,
    "h": 137.7
  },
  "luminance": 0.12785
}

Semantic roles & 50–950 ramp

primary
#337213
secondary
#8338A9
accent
#3AEEB1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337213

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

Preview Lab → · Contrast checker → · Palette generator →

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