#335E11#335E11

#335E11 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.4% C 0.115 H 134.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#335E11
RGBrgb(51, 94, 17)
HSLhsl(94, 69%, 22%)
HSVhsv(94, 82%, 37%)
CMYKcmyk(45.7%, 0%, 81.9%, 63.1%)
CIE-LABlab(35.50, -28.94, 36.63)
CIE-LCHlch(35.50, 46.69, 128.31°)
OKLaboklab(43.43% -0.081 0.0816)
OKLCHoklch(43.43% 0.115 134.8)
XYZxyz(5.4690, 8.7494, 1.9308)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E11 #3C115E
analogous
#5A5E11 #335E11 #115E15
triadic
#335E11 #11335E #5E1133
tetradic
#335E11 #115A5E #3C115E #5E1511
square
#335E11 #115A5E #3C115E #5E1511
split-complementary
#335E11 #15115E #5E115A
monochromatic
#0E1A05 #172A08 #335E11 #4F921A #6BC624

Accessibility & contrast

On white

7.64
#335E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#335E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335E11
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E11#FFFFFF#000000##FFFFFF
##335E111.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625601
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#325A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335e11;
/* rgb */ color: rgb(51, 94, 17);
/* oklch */ color: oklch(43.4% 0.115 134.8);
Tailwind
colors: {
  custom: {
    50: '#6f8c56',
    500: '#335e11',
    950: '#000000',
  },
}
SCSS
$custom: #335e11;
$custom-light: #6f8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#335e11",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 93.506,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43428,
    "c": 0.11498,
    "h": 134.8
  },
  "luminance": 0.0875
}

Semantic roles & 50–950 ramp

primary
#335E11
secondary
#6B3497
accent
#3CEC9E
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #335E11

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

Preview Lab → · Contrast checker → · Palette generator →

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