#335511#335511

#335511 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.9% C 0.102 H 132.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#335511
RGBrgb(51, 85, 17)
HSLhsl(90, 67%, 20%)
HSVhsv(90, 80%, 33%)
CMYKcmyk(40%, 0%, 80%, 66.7%)
CIE-LABlab(32.35, -24.69, 33.58)
CIE-LCHlch(32.35, 41.68, 126.32°)
OKLaboklab(40.85% -0.0695 0.0752)
OKLCHoklch(40.85% 0.102 132.8)
XYZxyz(4.7149, 7.2411, 1.6794)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335511 #331155
analogous
#555511 #335511 #115511
triadic
#335511 #113355 #551133
tetradic
#335511 #115555 #331155 #551111
square
#335511 #115555 #331155 #551111
split-complementary
#335511 #111155 #551155
monochromatic
#0F1A05 #142207 #335511 #52881B #70BB25

Accessibility & contrast

On white

8.58
#335511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#335511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335511
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335511#FFFFFF#000000##FFFFFF
##3355111.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E05
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#335148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #335511;
/* rgb */ color: rgb(51, 85, 17);
/* oklch */ color: oklch(40.9% 0.102 132.8);
Tailwind
colors: {
  custom: {
    50: '#6e8554',
    500: '#335511',
    950: '#000000',
  },
}
SCSS
$custom: #335511;
$custom-light: #6e8554;
$custom-dark: #000000;
JSON
{
  "hex": "#335511",
  "rgb": {
    "r": 51,
    "g": 85,
    "b": 17
  },
  "hsl": {
    "h": 90,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.40851,
    "c": 0.10241,
    "h": 132.8
  },
  "luminance": 0.07241
}

Semantic roles & 50–950 ramp

primary
#335511
secondary
#61348E
accent
#3EEA94
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335511

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

Preview Lab → · Contrast checker → · Palette generator →

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