#336914#336914

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

Color values

HEX#336914
RGBrgb(51, 105, 20)
HSLhsl(98, 68%, 25%)
HSVhsv(98, 81%, 41%)
CMYKcmyk(51.4%, 0%, 81%, 58.8%)
CIE-LABlab(39.34, -33.61, 39.24)
CIE-LCHlch(39.34, 51.66, 130.58°)
OKLaboklab(46.59% -0.0934 0.0875)
OKLCHoklch(46.59% 0.128 136.9)
XYZxyz(6.5429, 10.8570, 2.4125)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336914 #4A1469
analogous
#5E6914 #336914 #146920
triadic
#336914 #143369 #691433
tetradic
#336914 #145E69 #4A1469 #692014
square
#336914 #145E69 #4A1469 #692014
split-complementary
#336914 #201469 #69145E
monochromatic
#0C1A05 #1A360A #336914 #4C9C1E #65D028

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336914#FFFFFF#000000##FFFFFF
##3369141.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)
#6D5F01
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#306559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #336914;
/* rgb */ color: rgb(51, 105, 20);
/* oklch */ color: oklch(46.6% 0.128 136.9);
Tailwind
colors: {
  custom: {
    50: '#719459',
    500: '#336914',
    950: '#000000',
  },
}
SCSS
$custom: #336914;
$custom-light: #719459;
$custom-dark: #000000;
JSON
{
  "hex": "#336914",
  "rgb": {
    "r": 51,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 98.118,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46588,
    "c": 0.12798,
    "h": 136.9
  },
  "luminance": 0.10857
}

Semantic roles & 50–950 ramp

primary
#336914
secondary
#7A39A0
accent
#3DEBAB
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336914

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

Preview Lab → · Contrast checker → · Palette generator →

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