#336111#336111

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

Color values

HEX#336111
RGBrgb(51, 97, 17)
HSLhsl(95, 70%, 22%)
HSVhsv(95, 82%, 38%)
CMYKcmyk(47.4%, 0%, 82.5%, 62%)
CIE-LABlab(36.54, -30.30, 37.63)
CIE-LCHlch(36.54, 48.31, 128.84°)
OKLaboklab(44.29% -0.0847 0.0837)
OKLCHoklch(44.29% 0.119 135.3)
XYZxyz(5.7410, 9.2933, 2.0215)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336111 #3F1161
analogous
#5B6111 #336111 #116117
triadic
#336111 #113361 #611133
tetradic
#336111 #115B61 #3F1161 #611711
square
#336111 #115B61 #3F1161 #611711
split-complementary
#336111 #171161 #61115B
monochromatic
#0E1A05 #182D08 #336111 #4E951A #6AC923

Accessibility & contrast

On white

7.35
#336111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #336111
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336111#FFFFFF#000000##FFFFFF
##3361111.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#325D52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #336111;
/* rgb */ color: rgb(51, 97, 17);
/* oklch */ color: oklch(44.3% 0.119 135.3);
Tailwind
colors: {
  custom: {
    50: '#708e56',
    500: '#336111',
    950: '#000000',
  },
}
SCSS
$custom: #336111;
$custom-light: #708e56;
$custom-dark: #000000;
JSON
{
  "hex": "#336111",
  "rgb": {
    "r": 51,
    "g": 97,
    "b": 17
  },
  "hsl": {
    "h": 94.5,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44286,
    "c": 0.11905,
    "h": 135.3
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#336111
secondary
#6E3499
accent
#3BEDA1
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #336111

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

Preview Lab → · Contrast checker → · Palette generator →

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