#336913#336913

#336913 is a mid, vivid yellow-green. Relative luminance 0.109; OKLCH L 46.6% C 0.129 H 136.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#336913
RGBrgb(51, 105, 19)
HSLhsl(98, 69%, 24%)
HSVhsv(98, 82%, 41%)
CMYKcmyk(51.4%, 0%, 81.9%, 58.8%)
CIE-LABlab(39.33, -33.68, 39.59)
CIE-LCHlch(39.33, 51.97, 130.39°)
OKLaboklab(46.58% -0.0936 0.0881)
OKLCHoklch(46.58% 0.129 136.7)
XYZxyz(6.5342, 10.8535, 2.3666)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336913 #491369
analogous
#5E6913 #336913 #13691E
triadic
#336913 #133369 #691333
tetradic
#336913 #135E69 #491369 #691E13
square
#336913 #135E69 #491369 #691E13
split-complementary
#336913 #1E1369 #69135E
monochromatic
#0D1A05 #1A350A #336913 #4C9D1C #65D126

Accessibility & contrast

On white

6.62
#336913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#336913 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336913
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336913#FFFFFF#000000##FFFFFF
##3369131.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#306559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #336913;
/* rgb */ color: rgb(51, 105, 19);
/* oklch */ color: oklch(46.6% 0.129 136.7);
Tailwind
colors: {
  custom: {
    50: '#719458',
    500: '#336913',
    950: '#000000',
  },
}
SCSS
$custom: #336913;
$custom-light: #719458;
$custom-dark: #000000;
JSON
{
  "hex": "#336913",
  "rgb": {
    "r": 51,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 97.674,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46582,
    "c": 0.12856,
    "h": 136.7
  },
  "luminance": 0.10854
}

Semantic roles & 50–950 ramp

primary
#336913
secondary
#7938A0
accent
#3CECAA
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336913

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

Preview Lab → · Contrast checker → · Palette generator →

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