#335E2E#335E2E

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

Color values

HEX#335E2E
RGBrgb(51, 94, 46)
HSLhsl(114, 34%, 27%)
HSVhsv(114, 51%, 37%)
CMYKcmyk(45.7%, 0%, 51.1%, 63.1%)
CIE-LABlab(35.80, -25.75, 22.86)
CIE-LCHlch(35.80, 34.44, 138.41°)
OKLaboklab(43.78% -0.0703 0.0554)
OKLCHoklch(43.78% 0.09 141.7)
XYZxyz(5.8608, 8.9061, 3.9945)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E2E #592E5E
analogous
#4B5E2E #335E2E #2E5E41
triadic
#335E2E #2E335E #5E2E33
tetradic
#335E2E #2E4B5E #592E5E #5E412E
square
#335E2E #2E4B5E #592E5E #5E412E
split-complementary
#335E2E #412E5E #5E2E4B
monochromatic
#0B150A #1D351A #335E2E #498742 #62AE59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335E2E#FFFFFF#000000##FFFFFF
##335E2E1.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)
#60572A
Deuteranopia (green-blind)
#5A5331
Tritanopia (blue-blind)
#2F5B53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335e2e;
/* rgb */ color: rgb(51, 94, 46);
/* oklch */ color: oklch(43.8% 0.090 141.7);
Tailwind
colors: {
  custom: {
    50: '#6e8c68',
    500: '#335e2e',
    950: '#000000',
  },
}
SCSS
$custom: #335e2e;
$custom-light: #6e8c68;
$custom-dark: #000000;
JSON
{
  "hex": "#335e2e",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 46
  },
  "hsl": {
    "h": 113.75,
    "s": 34.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.43776,
    "c": 0.08951,
    "h": 141.7
  },
  "luminance": 0.08906
}

Semantic roles & 50–950 ramp

primary
#335E2E
secondary
#8A5890
accent
#5DCABF
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #335E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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