#335C11#335C11

#335C11 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.9% C 0.112 H 134.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#335C11
RGBrgb(51, 92, 17)
HSLhsl(93, 69%, 21%)
HSVhsv(93, 82%, 36%)
CMYKcmyk(44.6%, 0%, 81.5%, 63.9%)
CIE-LABlab(34.80, -28.02, 35.96)
CIE-LCHlch(34.80, 45.59, 127.92°)
OKLaboklab(42.86% -0.0785 0.0802)
OKLCHoklch(42.86% 0.112 134.4)
XYZxyz(5.2935, 8.3983, 1.8723)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C11 #3A115C
analogous
#595C11 #335C11 #115C15
triadic
#335C11 #11335C #5C1133
tetradic
#335C11 #11595C #3A115C #5C1511
square
#335C11 #11595C #3A115C #5C1511
split-complementary
#335C11 #15115C #5C1159
monochromatic
#0E1A05 #162807 #335C11 #50901B #6CC324

Accessibility & contrast

On white

7.84
#335C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#335C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335C11
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C11#FFFFFF#000000##FFFFFF
##335C111.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605402
Deuteranopia (green-blind)
#5A5119
Tritanopia (blue-blind)
#32584E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #335c11;
/* rgb */ color: rgb(51, 92, 17);
/* oklch */ color: oklch(42.9% 0.112 134.4);
Tailwind
colors: {
  custom: {
    50: '#6f8a56',
    500: '#335c11',
    950: '#000000',
  },
}
SCSS
$custom: #335c11;
$custom-light: #6f8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#335c11",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 92.8,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42855,
    "c": 0.11223,
    "h": 134.4
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#335C11
secondary
#693495
accent
#3CEC9C
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #335C11

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

Preview Lab → · Contrast checker → · Palette generator →

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