#336514#336514

#336514 is a mid, vivid yellow-green. Relative luminance 0.101; OKLCH L 45.4% C 0.123 H 136.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#336514
RGBrgb(51, 101, 20)
HSLhsl(97, 67%, 24%)
HSVhsv(97, 80%, 40%)
CMYKcmyk(49.5%, 0%, 80.2%, 60.4%)
CIE-LABlab(37.95, -31.88, 37.90)
CIE-LCHlch(37.95, 49.52, 130.07°)
OKLaboklab(45.45% -0.0887 0.0847)
OKLCHoklch(45.45% 0.123 136.3)
XYZxyz(6.1450, 10.0613, 2.2799)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336514 #461465
analogous
#5B6514 #336514 #14651D
triadic
#336514 #143365 #651433
tetradic
#336514 #145B65 #461465 #651D14
square
#336514 #145B65 #461465 #651D14
split-complementary
#336514 #1D1465 #65145B
monochromatic
#0D1A05 #19320A #336514 #4D981E #67CB28

Accessibility & contrast

On white

6.97
#336514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#336514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336514
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336514#FFFFFF#000000##FFFFFF
##3365141.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C03
Deuteranopia (green-blind)
#62581D
Tritanopia (blue-blind)
#316156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #336514;
/* rgb */ color: rgb(51, 101, 20);
/* oklch */ color: oklch(45.4% 0.123 136.3);
Tailwind
colors: {
  custom: {
    50: '#709158',
    500: '#336514',
    950: '#000000',
  },
}
SCSS
$custom: #336514;
$custom-light: #709158;
$custom-dark: #000000;
JSON
{
  "hex": "#336514",
  "rgb": {
    "r": 51,
    "g": 101,
    "b": 20
  },
  "hsl": {
    "h": 97.037,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45449,
    "c": 0.12267,
    "h": 136.3
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#336514
secondary
#76399C
accent
#3EEAA8
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D04
muted
#7B7D79

Preview Lab

Preview with #336514

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

Preview Lab → · Contrast checker → · Palette generator →

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