#335F1D#335F1D

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

Color values

HEX#335F1D
RGBrgb(51, 95, 29)
HSLhsl(100, 53%, 24%)
HSVhsv(100, 69%, 37%)
CMYKcmyk(46.3%, 0%, 69.5%, 62.7%)
CIE-LABlab(35.94, -28.40, 31.99)
CIE-LCHlch(35.94, 42.78, 131.60°)
OKLaboklab(43.82% -0.0786 0.0737)
OKLCHoklch(43.82% 0.108 136.9)
XYZxyz(5.6791, 8.9766, 2.5956)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335F1D #491D5F
analogous
#545F1D #335F1D #1D5F28
triadic
#335F1D #1D335F #5F1D33
tetradic
#335F1D #1D545F #491D5F #5F281D
square
#335F1D #1D545F #491D5F #5F281D
split-complementary
#335F1D #281D5F #5F1D54
monochromatic
#0D1707 #1A300F #335F1D #4C8E2B #65BD3A

Accessibility & contrast

On white

7.51
#335F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#335F1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335F1D
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335F1D#FFFFFF#000000##FFFFFF
##335F1D1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625715
Deuteranopia (green-blind)
#5C5323
Tritanopia (blue-blind)
#315B51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #335f1d;
/* rgb */ color: rgb(51, 95, 29);
/* oklch */ color: oklch(43.8% 0.108 136.9);
Tailwind
colors: {
  custom: {
    50: '#6f8d5c',
    500: '#335f1d',
    950: '#000000',
  },
}
SCSS
$custom: #335f1d;
$custom-light: #6f8d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#335f1d",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 29
  },
  "hsl": {
    "h": 100,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4382,
    "c": 0.10776,
    "h": 136.9
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#335F1D
secondary
#794494
accent
#4BDDAC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #335F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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