#337210#337210

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

Color values

HEX#337210
RGBrgb(51, 114, 16)
HSLhsl(99, 75%, 25%)
HSVhsv(99, 86%, 45%)
CMYKcmyk(55.3%, 0%, 86%, 55.3%)
CIE-LABlab(42.42, -37.59, 43.42)
CIE-LCHlch(42.42, 57.43, 130.89°)
OKLaboklab(49.12% -0.1043 0.0957)
OKLCHoklch(49.12% 0.142 137.5)
XYZxyz(7.4758, 12.7753, 2.5620)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337210 #4F1072
analogous
#647210 #337210 #10721E
triadic
#337210 #103372 #721033
tetradic
#337210 #106472 #4F1072 #721E10
square
#337210 #106472 #4F1072 #721E10
split-complementary
#337210 #1E1072 #721064
monochromatic
#0C1B04 #1B3C08 #337210 #4BA818 #63DD1F

Accessibility & contrast

On white

5.91
#337210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337210
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337210#FFFFFF#000000##FFFFFF
##3372101.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337210;
/* rgb */ color: rgb(51, 114, 16);
/* oklch */ color: oklch(49.1% 0.142 137.5);
Tailwind
colors: {
  custom: {
    50: '#729b59',
    500: '#337210',
    950: '#000000',
  },
}
SCSS
$custom: #337210;
$custom-light: #729b59;
$custom-dark: #000000;
JSON
{
  "hex": "#337210",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 98.571,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49122,
    "c": 0.14153,
    "h": 137.5
  },
  "luminance": 0.12776
}

Semantic roles & 50–950 ramp

primary
#337210
secondary
#8034A9
accent
#36F2AF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #337210

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

Preview Lab → · Contrast checker → · Palette generator →

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