#335E2D#335E2D

#335E2D is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.8% C 0.091 H 141.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#335E2D
RGBrgb(51, 94, 45)
HSLhsl(113, 35%, 27%)
HSVhsv(113, 52%, 37%)
CMYKcmyk(45.7%, 0%, 52.1%, 63.1%)
CIE-LABlab(35.79, -25.91, 23.41)
CIE-LCHlch(35.79, 34.92, 137.90°)
OKLaboklab(43.76% -0.0707 0.0566)
OKLCHoklch(43.76% 0.091 141.3)
XYZxyz(5.8414, 8.8983, 3.8919)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E2D #582D5E
analogous
#4C5E2D #335E2D #2D5E40
triadic
#335E2D #2D335E #5E2D33
tetradic
#335E2D #2D4C5E #582D5E #5E402D
square
#335E2D #2D4C5E #582D5E #5E402D
split-complementary
#335E2D #402D5E #5E2D4C
monochromatic
#0B150A #1D3519 #335E2D #498741 #62AF57

Accessibility & contrast

On white

7.55
#335E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#335E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335E2D
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E2D#FFFFFF#000000##FFFFFF
##335E2D1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605729
Deuteranopia (green-blind)
#5A5330
Tritanopia (blue-blind)
#2F5B53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335e2d;
/* rgb */ color: rgb(51, 94, 45);
/* oklch */ color: oklch(43.8% 0.091 141.3);
Tailwind
colors: {
  custom: {
    50: '#6e8c67',
    500: '#335e2d',
    950: '#000000',
  },
}
SCSS
$custom: #335e2d;
$custom-light: #6e8c67;
$custom-dark: #000000;
JSON
{
  "hex": "#335e2d",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 45
  },
  "hsl": {
    "h": 112.653,
    "s": 35.252,
    "l": 27.255
  },
  "oklch": {
    "l": 0.43759,
    "c": 0.0906,
    "h": 141.3
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

primary
#335E2D
secondary
#895790
accent
#5DCBBE
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #335E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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