#335D2E#335D2E

#335D2E is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.5% C 0.088 H 141.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#335D2E
RGBrgb(51, 93, 46)
HSLhsl(114, 34%, 27%)
HSVhsv(114, 51%, 36%)
CMYKcmyk(45.2%, 0%, 50.5%, 63.5%)
CIE-LABlab(35.46, -25.26, 22.43)
CIE-LCHlch(35.46, 33.78, 138.40°)
OKLaboklab(43.5% -0.0689 0.0545)
OKLCHoklch(43.5% 0.088 141.7)
XYZxyz(5.7725, 8.7294, 3.9650)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D2E #582E5D
analogous
#4B5D2E #335D2E #2E5D41
triadic
#335D2E #2E335D #5D2E33
tetradic
#335D2E #2E4B5D #582E5D #5D412E
square
#335D2E #2E4B5D #582E5D #5D412E
split-complementary
#335D2E #412E5D #5D2E4B
monochromatic
#0B140A #1D341A #335D2E #498642 #62AD59

Accessibility & contrast

On white

7.65
#335D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335D2E
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D2E#FFFFFF#000000##FFFFFF
##335D2E1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562A
Deuteranopia (green-blind)
#595231
Tritanopia (blue-blind)
#2F5A52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335d2e;
/* rgb */ color: rgb(51, 93, 46);
/* oklch */ color: oklch(43.5% 0.088 141.7);
Tailwind
colors: {
  custom: {
    50: '#6e8b67',
    500: '#335d2e',
    950: '#000000',
  },
}
SCSS
$custom: #335d2e;
$custom-light: #6e8b67;
$custom-dark: #000000;
JSON
{
  "hex": "#335d2e",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 46
  },
  "hsl": {
    "h": 113.617,
    "s": 33.813,
    "l": 27.255
  },
  "oklch": {
    "l": 0.43495,
    "c": 0.08786,
    "h": 141.7
  },
  "luminance": 0.0873
}

Semantic roles & 50–950 ramp

primary
#335D2E
secondary
#89588F
accent
#5ECABE
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #335D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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