#336813#336813

#336813 is a mid, vivid yellow-green. Relative luminance 0.107; OKLCH L 46.3% C 0.127 H 136.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#336813
RGBrgb(51, 104, 19)
HSLhsl(97, 69%, 24%)
HSVhsv(97, 82%, 41%)
CMYKcmyk(51%, 0%, 81.7%, 59.2%)
CIE-LABlab(38.99, -33.25, 39.26)
CIE-LCHlch(38.99, 51.44, 130.26°)
OKLaboklab(46.3% -0.0925 0.0874)
OKLCHoklch(46.3% 0.127 136.6)
XYZxyz(6.4329, 10.6510, 2.3328)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336813 #481368
analogous
#5E6813 #336813 #13681E
triadic
#336813 #133368 #681333
tetradic
#336813 #135E68 #481368 #681E13
square
#336813 #135E68 #481368 #681E13
split-complementary
#336813 #1E1368 #68135E
monochromatic
#0D1A05 #1A340A #336813 #4C9C1C #66CF26

Accessibility & contrast

On white

6.71
#336813 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#336813 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336813
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336813#FFFFFF#000000##FFFFFF
##3368131.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#306458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #336813;
/* rgb */ color: rgb(51, 104, 19);
/* oklch */ color: oklch(46.3% 0.127 136.6);
Tailwind
colors: {
  custom: {
    50: '#719358',
    500: '#336813',
    950: '#000000',
  },
}
SCSS
$custom: #336813;
$custom-light: #719358;
$custom-dark: #000000;
JSON
{
  "hex": "#336813",
  "rgb": {
    "r": 51,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 97.412,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46297,
    "c": 0.12724,
    "h": 136.6
  },
  "luminance": 0.10651
}

Semantic roles & 50–950 ramp

primary
#336813
secondary
#78379F
accent
#3CECAA
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336813

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

Preview Lab → · Contrast checker → · Palette generator →

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