#335E22#335E22

#335E22 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.6% C 0.102 H 137.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#335E22
RGBrgb(51, 94, 34)
HSLhsl(103, 47%, 25%)
HSVhsv(103, 64%, 37%)
CMYKcmyk(45.7%, 0%, 63.8%, 63.1%)
CIE-LABlab(35.64, -27.39, 29.19)
CIE-LCHlch(35.64, 40.03, 133.18°)
OKLaboklab(43.6% -0.0755 0.0683)
OKLCHoklch(43.6% 0.102 137.8)
XYZxyz(5.6565, 8.8244, 2.9183)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E22 #4D225E
analogous
#515E22 #335E22 #225E2F
triadic
#335E22 #22335E #5E2233
tetradic
#335E22 #22515E #4D225E #5E2F22
square
#335E22 #22515E #4D225E #5E2F22
split-complementary
#335E22 #2F225E #5E2251
monochromatic
#0C1608 #1B3112 #335E22 #4B8B32 #64B843

Accessibility & contrast

On white

7.59
#335E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#335E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335E22
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E22#FFFFFF#000000##FFFFFF
##335E221.007.592.767.59
#FFFFFF7.591.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561C
Deuteranopia (green-blind)
#5B5227
Tritanopia (blue-blind)
#305B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335e22;
/* rgb */ color: rgb(51, 94, 34);
/* oklch */ color: oklch(43.6% 0.102 137.8);
Tailwind
colors: {
  custom: {
    50: '#6e8c5f',
    500: '#335e22',
    950: '#000000',
  },
}
SCSS
$custom: #335e22;
$custom-light: #6e8c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#335e22",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 34
  },
  "hsl": {
    "h": 103,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.43595,
    "c": 0.10181,
    "h": 137.8
  },
  "luminance": 0.08825
}

Semantic roles & 50–950 ramp

primary
#335E22
secondary
#7E4A92
accent
#51D7B1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #335E22

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

Preview Lab → · Contrast checker → · Palette generator →

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