#335437#335437

#335437 is a dark, moderate green. Relative luminance 0.073; OKLCH L 41.2% C 0.062 H 147.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#335437
RGBrgb(51, 84, 55)
HSLhsl(127, 24%, 26%)
HSVhsv(127, 39%, 33%)
CMYKcmyk(39.3%, 0%, 34.5%, 67.1%)
CIE-LABlab(32.52, -19.04, 13.25)
CIE-LCHlch(32.52, 23.20, 145.17°)
OKLaboklab(41.16% -0.052 0.0334)
OKLCHoklch(41.16% 0.062 147.3)
XYZxyz(5.2249, 7.3200, 4.7513)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335437 #543350
analogous
#405433 #335437 #335448
triadic
#335437 #373354 #543733
tetradic
#335437 #334054 #543350 #544833
square
#335437 #334054 #543350 #544833
split-complementary
#335437 #483354 #543340
monochromatic
#0C130C #1C2E1E #335437 #4A7A50 #62A069

Accessibility & contrast

On white

8.52
#335437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335437
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335437#FFFFFF#000000##FFFFFF
##3354371.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554F35
Deuteranopia (green-blind)
#504B39
Tritanopia (blue-blind)
#2F534C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #335437;
/* rgb */ color: rgb(51, 84, 55);
/* oklch */ color: oklch(41.2% 0.062 147.3);
Tailwind
colors: {
  custom: {
    50: '#6c846e',
    500: '#335437',
    950: '#000000',
  },
}
SCSS
$custom: #335437;
$custom-light: #6c846e;
$custom-dark: #000000;
JSON
{
  "hex": "#335437",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 55
  },
  "hsl": {
    "h": 127.273,
    "s": 24.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.41163,
    "c": 0.06176,
    "h": 147.3
  },
  "luminance": 0.0732
}

Semantic roles & 50–950 ramp

primary
#335437
secondary
#855E80
accent
#67B6C1
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#070B07
muted
#7A7C7A

Preview Lab

Preview with #335437

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

Preview Lab → · Contrast checker → · Palette generator →

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