#335611#335611

#335611 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.1% C 0.104 H 133.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#335611
RGBrgb(51, 86, 17)
HSLhsl(90, 67%, 20%)
HSVhsv(90, 80%, 34%)
CMYKcmyk(40.7%, 0%, 80.2%, 66.3%)
CIE-LABlab(32.70, -25.17, 33.92)
CIE-LCHlch(32.70, 42.24, 126.58°)
OKLaboklab(41.14% -0.0708 0.0759)
OKLCHoklch(41.14% 0.104 133)
XYZxyz(4.7941, 7.3996, 1.7059)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335611 #341156
analogous
#555611 #335611 #115612
triadic
#335611 #113356 #561133
tetradic
#335611 #115556 #341156 #561211
square
#335611 #115556 #341156 #561211
split-complementary
#335611 #121156 #561155
monochromatic
#0F1A05 #152307 #335611 #51891B #70BC25

Accessibility & contrast

On white

8.47
#335611 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#335611 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335611
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335611#FFFFFF#000000##FFFFFF
##3356111.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F04
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#335249
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #335611;
/* rgb */ color: rgb(51, 86, 17);
/* oklch */ color: oklch(41.1% 0.104 133.0);
Tailwind
colors: {
  custom: {
    50: '#6e8655',
    500: '#335611',
    950: '#000000',
  },
}
SCSS
$custom: #335611;
$custom-light: #6e8655;
$custom-dark: #000000;
JSON
{
  "hex": "#335611",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 17
  },
  "hsl": {
    "h": 90.435,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41138,
    "c": 0.10384,
    "h": 133
  },
  "luminance": 0.074
}

Semantic roles & 50–950 ramp

primary
#335611
secondary
#62348F
accent
#3EEA95
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335611

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

Preview Lab → · Contrast checker → · Palette generator →

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