#336113#336113

#336113 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.3% C 0.118 H 135.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#336113
RGBrgb(51, 97, 19)
HSLhsl(95, 67%, 23%)
HSVhsv(95, 80%, 38%)
CMYKcmyk(47.4%, 0%, 80.4%, 62%)
CIE-LABlab(36.56, -30.17, 36.91)
CIE-LCHlch(36.56, 47.67, 129.26°)
OKLaboklab(44.3% -0.0842 0.0825)
OKLCHoklch(44.3% 0.118 135.6)
XYZxyz(5.7573, 9.2999, 2.1077)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336113 #411361
analogous
#5A6113 #336113 #13611A
triadic
#336113 #133361 #611333
tetradic
#336113 #135A61 #411361 #611A13
square
#336113 #135A61 #411361 #611A13
split-complementary
#336113 #1A1361 #61135A
monochromatic
#0D1A05 #182E09 #336113 #4E941D #69C727

Accessibility & contrast

On white

7.34
#336113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#336113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336113
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336113#FFFFFF#000000##FFFFFF
##3361131.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655803
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#315D52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #336113;
/* rgb */ color: rgb(51, 97, 19);
/* oklch */ color: oklch(44.3% 0.118 135.6);
Tailwind
colors: {
  custom: {
    50: '#708e57',
    500: '#336113',
    950: '#000000',
  },
}
SCSS
$custom: #336113;
$custom-light: #708e57;
$custom-dark: #000000;
JSON
{
  "hex": "#336113",
  "rgb": {
    "r": 51,
    "g": 97,
    "b": 19
  },
  "hsl": {
    "h": 95.385,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.443,
    "c": 0.11787,
    "h": 135.6
  },
  "luminance": 0.093
}

Semantic roles & 50–950 ramp

primary
#336113
secondary
#713799
accent
#3EEAA3
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #336113

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

Preview Lab → · Contrast checker → · Palette generator →

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