#335E2A#335E2A

#335E2A is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.7% C 0.094 H 140.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#335E2A
RGBrgb(51, 94, 42)
HSLhsl(110, 38%, 27%)
HSVhsv(110, 55%, 37%)
CMYKcmyk(45.7%, 0%, 55.3%, 63.1%)
CIE-LABlab(35.74, -26.35, 25.03)
CIE-LCHlch(35.74, 36.35, 136.47°)
OKLaboklab(43.71% -0.0721 0.06)
OKLCHoklch(43.71% 0.094 140.2)
XYZxyz(5.7856, 8.8760, 3.5984)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E2A #552A5E
analogous
#4D5E2A #335E2A #2A5E3B
triadic
#335E2A #2A335E #5E2A33
tetradic
#335E2A #2A4D5E #552A5E #5E3B2A
square
#335E2A #2A4D5E #552A5E #5E3B2A
split-complementary
#335E2A #3B2A5E #5E2A4D
monochromatic
#0B1509 #1C3417 #335E2A #4A883D #62B151

Accessibility & contrast

On white

7.57
#335E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335E2A
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E2A#FFFFFF#000000##FFFFFF
##335E2A1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605625
Deuteranopia (green-blind)
#5A532E
Tritanopia (blue-blind)
#2F5B52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335e2a;
/* rgb */ color: rgb(51, 94, 42);
/* oklch */ color: oklch(43.7% 0.094 140.2);
Tailwind
colors: {
  custom: {
    50: '#6e8c65',
    500: '#335e2a',
    950: '#000000',
  },
}
SCSS
$custom: #335e2a;
$custom-light: #6e8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#335e2a",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 42
  },
  "hsl": {
    "h": 109.615,
    "s": 38.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4371,
    "c": 0.09381,
    "h": 140.2
  },
  "luminance": 0.08876
}

Semantic roles & 50–950 ramp

primary
#335E2A
secondary
#865390
accent
#5ACEBA
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #335E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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