#335D11#335D11

#335D11 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.1% C 0.114 H 134.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#335D11
RGBrgb(51, 93, 17)
HSLhsl(93, 69%, 22%)
HSVhsv(93, 82%, 36%)
CMYKcmyk(45.2%, 0%, 81.7%, 63.5%)
CIE-LABlab(35.15, -28.48, 36.30)
CIE-LCHlch(35.15, 46.14, 128.12°)
OKLaboklab(43.14% -0.0798 0.0809)
OKLCHoklch(43.14% 0.114 134.6)
XYZxyz(5.3807, 8.5727, 1.9014)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D11 #3B115D
analogous
#595D11 #335D11 #115D15
triadic
#335D11 #11335D #5D1133
tetradic
#335D11 #11595D #3B115D #5D1511
square
#335D11 #11595D #3B115D #5D1511
split-complementary
#335D11 #15115D #5D1159
monochromatic
#0E1A05 #172908 #335D11 #4F911A #6CC424

Accessibility & contrast

On white

7.74
#335D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#335D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335D11
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D11#FFFFFF#000000##FFFFFF
##335D111.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615502
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#32594F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335d11;
/* rgb */ color: rgb(51, 93, 17);
/* oklch */ color: oklch(43.1% 0.114 134.6);
Tailwind
colors: {
  custom: {
    50: '#6f8b56',
    500: '#335d11',
    950: '#000000',
  },
}
SCSS
$custom: #335d11;
$custom-light: #6f8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#335d11",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 17
  },
  "hsl": {
    "h": 93.158,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43142,
    "c": 0.11361,
    "h": 134.6
  },
  "luminance": 0.08573
}

Semantic roles & 50–950 ramp

primary
#335D11
secondary
#6A3496
accent
#3CEC9D
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #335D11

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

Preview Lab → · Contrast checker → · Palette generator →

#335D11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva