#335436#335436

#335436 is a dark, moderate green. Relative luminance 0.073; OKLCH L 41.1% C 0.063 H 146.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#335436
RGBrgb(51, 84, 54)
HSLhsl(125, 24%, 26%)
HSVhsv(125, 39%, 33%)
CMYKcmyk(39.3%, 0%, 35.7%, 67.1%)
CIE-LABlab(32.50, -19.24, 13.84)
CIE-LCHlch(32.50, 23.70, 144.28°)
OKLaboklab(41.14% -0.0525 0.0348)
OKLCHoklch(41.14% 0.063 146.5)
XYZxyz(5.2012, 7.3105, 4.6263)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335436 #543351
analogous
#415433 #335436 #335447
triadic
#335436 #363354 #543633
tetradic
#335436 #334154 #543351 #544733
square
#335436 #334154 #543351 #544733
split-complementary
#335436 #473354 #543341
monochromatic
#0C130C #1C2E1E #335436 #4A7A4E #62A067

Accessibility & contrast

On white

8.53
#335436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#335436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335436
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335436#FFFFFF#000000##FFFFFF
##3354361.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554E34
Deuteranopia (green-blind)
#504B38
Tritanopia (blue-blind)
#2F524C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #335436;
/* rgb */ color: rgb(51, 84, 54);
/* oklch */ color: oklch(41.1% 0.063 146.5);
Tailwind
colors: {
  custom: {
    50: '#6c846d',
    500: '#335436',
    950: '#000000',
  },
}
SCSS
$custom: #335436;
$custom-light: #6c846d;
$custom-dark: #000000;
JSON
{
  "hex": "#335436",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 54
  },
  "hsl": {
    "h": 125.455,
    "s": 24.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.41139,
    "c": 0.06294,
    "h": 146.5
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#335436
secondary
#855E81
accent
#67B9C1
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#070B07
muted
#7A7C7A

Preview Lab

Preview with #335436

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

Preview Lab → · Contrast checker → · Palette generator →

#335436 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva