#335E45#335E45

#335E45 is a dark, moderate green. Relative luminance 0.091; OKLCH L 44.3% C 0.064 H 157.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#335E45
RGBrgb(51, 94, 69)
HSLhsl(145, 30%, 28%)
HSVhsv(145, 46%, 37%)
CMYKcmyk(45.7%, 0%, 26.6%, 63.1%)
CIE-LABlab(36.25, -21.36, 9.76)
CIE-LCHlch(36.25, 23.48, 155.44°)
OKLaboklab(44.29% -0.0588 0.0249)
OKLCHoklch(44.29% 0.064 157)
XYZxyz(6.4417, 9.1384, 7.0535)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E45 #5E334C
analogous
#365E33 #335E45 #335E5A
triadic
#335E45 #45335E #5E4533
tetradic
#335E45 #33365E #5E334C #5E5A33
square
#335E45 #33365E #5E334C #5E5A33
split-complementary
#335E45 #5A335E #5E3336
monochromatic
#0B140F #1D3628 #335E45 #498662 #62AA80

Accessibility & contrast

On white

7.43
#335E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#335E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335E45
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E45#FFFFFF#000000##FFFFFF
##335E451.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5844
Deuteranopia (green-blind)
#575346
Tritanopia (blue-blind)
#295D57
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #335e45;
/* rgb */ color: rgb(51, 94, 69);
/* oklch */ color: oklch(44.3% 0.064 157.0);
Tailwind
colors: {
  custom: {
    50: '#6d8c78',
    500: '#335e45',
    950: '#000000',
  },
}
SCSS
$custom: #335e45;
$custom-light: #6d8c78;
$custom-dark: #000000;
JSON
{
  "hex": "#335e45",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 69
  },
  "hsl": {
    "h": 145.116,
    "s": 29.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.44286,
    "c": 0.06383,
    "h": 157
  },
  "luminance": 0.09139
}

Semantic roles & 50–950 ramp

primary
#335E45
secondary
#8F5E7A
accent
#629CC6
background
#F6F8F7
surface
#ECF0ED
border
#C7CBC8
text
#070C09
muted
#7A7D7B

Preview Lab

Preview with #335E45

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

Preview Lab → · Contrast checker → · Palette generator →

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