#335D22#335D22

#335D22 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.3% C 0.100 H 137.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#335D22
RGBrgb(51, 93, 34)
HSLhsl(103, 46%, 25%)
HSVhsv(103, 63%, 36%)
CMYKcmyk(45.2%, 0%, 63.4%, 63.5%)
CIE-LABlab(35.30, -26.92, 28.79)
CIE-LCHlch(35.30, 39.42, 133.07°)
OKLaboklab(43.31% -0.0742 0.0675)
OKLCHoklch(43.31% 0.1 137.7)
XYZxyz(5.5681, 8.6477, 2.8888)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D22 #4C225D
analogous
#515D22 #335D22 #225D2F
triadic
#335D22 #22335D #5D2233
tetradic
#335D22 #22515D #4C225D #5D2F22
square
#335D22 #22515D #4C225D #5D2F22
split-complementary
#335D22 #2F225D #5D2251
monochromatic
#0C1608 #1A3012 #335D22 #4C8A32 #64B743

Accessibility & contrast

On white

7.69
#335D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#335D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335D22
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D22#FFFFFF#000000##FFFFFF
##335D221.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60551C
Deuteranopia (green-blind)
#5A5226
Tritanopia (blue-blind)
#315A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335d22;
/* rgb */ color: rgb(51, 93, 34);
/* oklch */ color: oklch(43.3% 0.100 137.7);
Tailwind
colors: {
  custom: {
    50: '#6e8b5f',
    500: '#335d22',
    950: '#000000',
  },
}
SCSS
$custom: #335d22;
$custom-light: #6e8b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#335d22",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 34
  },
  "hsl": {
    "h": 102.712,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.43311,
    "c": 0.10028,
    "h": 137.7
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#335D22
secondary
#7C4A91
accent
#52D6B0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #335D22

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

Preview Lab → · Contrast checker → · Palette generator →

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