#335E1E#335E1E

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

Color values

HEX#335E1E
RGBrgb(51, 94, 30)
HSLhsl(100, 52%, 24%)
HSVhsv(100, 68%, 37%)
CMYKcmyk(45.7%, 0%, 68.1%, 63.1%)
CIE-LABlab(35.60, -27.84, 31.14)
CIE-LCHlch(35.60, 41.77, 131.79°)
OKLaboklab(43.55% -0.077 0.072)
OKLCHoklch(43.55% 0.105 136.9)
XYZxyz(5.6021, 8.8026, 2.6319)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E1E #491E5E
analogous
#535E1E #335E1E #1E5E29
triadic
#335E1E #1E335E #5E1E33
tetradic
#335E1E #1E535E #491E5E #5E291E
square
#335E1E #1E535E #491E5E #5E291E
split-complementary
#335E1E #291E5E #5E1E53
monochromatic
#0D1707 #1A300F #335E1E #4C8C2D #65BB3C

Accessibility & contrast

On white

7.61
#335E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335E1E
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E1E#FFFFFF#000000##FFFFFF
##335E1E1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615616
Deuteranopia (green-blind)
#5B5223
Tritanopia (blue-blind)
#315B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335e1e;
/* rgb */ color: rgb(51, 94, 30);
/* oklch */ color: oklch(43.5% 0.105 136.9);
Tailwind
colors: {
  custom: {
    50: '#6f8c5d',
    500: '#335e1e',
    950: '#000000',
  },
}
SCSS
$custom: #335e1e;
$custom-light: #6f8c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#335e1e",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 30
  },
  "hsl": {
    "h": 100.313,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.43547,
    "c": 0.10543,
    "h": 136.9
  },
  "luminance": 0.08803
}

Semantic roles & 50–950 ramp

primary
#335E1E
secondary
#794593
accent
#4DDBAC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #335E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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