#337310#337310

#337310 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.4% C 0.143 H 137.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#337310
RGBrgb(51, 115, 16)
HSLhsl(99, 76%, 26%)
HSVhsv(99, 86%, 45%)
CMYKcmyk(55.7%, 0%, 86.1%, 54.9%)
CIE-LABlab(42.77, -38.00, 43.73)
CIE-LCHlch(42.77, 57.93, 130.99°)
OKLaboklab(49.41% -0.1054 0.0963)
OKLCHoklch(49.41% 0.143 137.6)
XYZxyz(7.5892, 13.0021, 2.5998)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337310 #501073
analogous
#647310 #337310 #10731E
triadic
#337310 #103373 #731033
tetradic
#337310 #106473 #501073 #731E10
square
#337310 #106473 #501073 #731E10
split-complementary
#337310 #1E1073 #731064
monochromatic
#0C1B04 #1B3D09 #337310 #4BA917 #63DE1F

Accessibility & contrast

On white

5.83
#337310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#337310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337310
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337310#FFFFFF#000000##FFFFFF
##3373101.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#2E6F61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #337310;
/* rgb */ color: rgb(51, 115, 16);
/* oklch */ color: oklch(49.4% 0.143 137.6);
Tailwind
colors: {
  custom: {
    50: '#739c59',
    500: '#337310',
    950: '#000000',
  },
}
SCSS
$custom: #337310;
$custom-light: #739c59;
$custom-dark: #000000;
JSON
{
  "hex": "#337310",
  "rgb": {
    "r": 51,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 98.788,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49405,
    "c": 0.14277,
    "h": 137.6
  },
  "luminance": 0.13003
}

Semantic roles & 50–950 ramp

primary
#337310
secondary
#8134AA
accent
#36F2B0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #337310

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

Preview Lab → · Contrast checker → · Palette generator →

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