#335911#335911

#335911 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.0% C 0.108 H 133.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#335911
RGBrgb(51, 89, 17)
HSLhsl(92, 68%, 21%)
HSVhsv(92, 81%, 35%)
CMYKcmyk(42.7%, 0%, 80.9%, 65.1%)
CIE-LABlab(33.75, -26.61, 34.95)
CIE-LCHlch(33.75, 43.93, 127.29°)
OKLaboklab(42% -0.0747 0.0781)
OKLCHoklch(42% 0.108 133.8)
XYZxyz(5.0387, 7.8888, 1.7874)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335911 #371159
analogous
#575911 #335911 #115913
triadic
#335911 #113359 #591133
tetradic
#335911 #115759 #371159 #591311
square
#335911 #115759 #371159 #591311
split-complementary
#335911 #131159 #591157
monochromatic
#0F1A05 #162607 #335911 #508C1B #6EC025

Accessibility & contrast

On white

8.15
#335911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#335911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335911
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335911#FFFFFF#000000##FFFFFF
##3359111.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5103
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#33554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #335911;
/* rgb */ color: rgb(51, 89, 17);
/* oklch */ color: oklch(42.0% 0.108 133.8);
Tailwind
colors: {
  custom: {
    50: '#6f8855',
    500: '#335911',
    950: '#000000',
  },
}
SCSS
$custom: #335911;
$custom-light: #6f8855;
$custom-dark: #000000;
JSON
{
  "hex": "#335911",
  "rgb": {
    "r": 51,
    "g": 89,
    "b": 17
  },
  "hsl": {
    "h": 91.667,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41997,
    "c": 0.10806,
    "h": 133.8
  },
  "luminance": 0.07889
}

Semantic roles & 50–950 ramp

primary
#335911
secondary
#663492
accent
#3DEB99
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #335911

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

Preview Lab → · Contrast checker → · Palette generator →

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