#336713#336713

#336713 is a mid, vivid yellow-green. Relative luminance 0.105; OKLCH L 46.0% C 0.126 H 136.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#336713
RGBrgb(51, 103, 19)
HSLhsl(97, 69%, 24%)
HSVhsv(97, 82%, 40%)
CMYKcmyk(50.5%, 0%, 81.6%, 59.6%)
CIE-LABlab(38.64, -32.81, 38.92)
CIE-LCHlch(38.64, 50.91, 130.13°)
OKLaboklab(46.01% -0.0913 0.0867)
OKLCHoklch(46.01% 0.126 136.5)
XYZxyz(6.3329, 10.4509, 2.2995)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336713 #471367
analogous
#5D6713 #336713 #13671D
triadic
#336713 #133367 #671333
tetradic
#336713 #135D67 #471367 #671D13
square
#336713 #135D67 #471367 #671D13
split-complementary
#336713 #1D1367 #67135D
monochromatic
#0D1A05 #193309 #336713 #4D9B1D #66CE26

Accessibility & contrast

On white

6.80
#336713 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#336713 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336713
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336713#FFFFFF#000000##FFFFFF
##3367131.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E01
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#306357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #336713;
/* rgb */ color: rgb(51, 103, 19);
/* oklch */ color: oklch(46.0% 0.126 136.5);
Tailwind
colors: {
  custom: {
    50: '#719358',
    500: '#336713',
    950: '#000000',
  },
}
SCSS
$custom: #336713;
$custom-light: #719358;
$custom-dark: #000000;
JSON
{
  "hex": "#336713",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 19
  },
  "hsl": {
    "h": 97.143,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46012,
    "c": 0.12592,
    "h": 136.5
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

primary
#336713
secondary
#77379E
accent
#3CECA9
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336713

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

Preview Lab → · Contrast checker → · Palette generator →

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