#336F4F#336F4F

#336F4F is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.2% C 0.082 H 158.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#336F4F
RGBrgb(51, 111, 79)
HSLhsl(148, 37%, 32%)
HSVhsv(148, 54%, 44%)
CMYKcmyk(54.1%, 0%, 28.8%, 56.5%)
CIE-LABlab(42.21, -27.66, 12.00)
CIE-LCHlch(42.21, 30.15, 156.54°)
OKLaboklab(49.21% -0.0758 0.0306)
OKLCHoklch(49.21% 0.082 158)
XYZxyz(8.4603, 12.6365, 9.3889)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F4F #6F3353
analogous
#356F33 #336F4F #336F6D
triadic
#336F4F #4F336F #6F4F33
tetradic
#336F4F #33356F #6F3353 #6F6D33
square
#336F4F #33356F #6F3353 #6F6D33
split-complementary
#336F4F #6D336F #6F3335
monochromatic
#0C1B13 #204531 #336F4F #46996D #64B88B

Accessibility & contrast

On white

5.95
#336F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#336F4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F4F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F4F#FFFFFF#000000##FFFFFF
##336F4F1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E674D
Deuteranopia (green-blind)
#656151
Tritanopia (blue-blind)
#216E66
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #336f4f;
/* rgb */ color: rgb(51, 111, 79);
/* oklch */ color: oklch(49.2% 0.082 158.0);
Tailwind
colors: {
  custom: {
    50: '#709980',
    500: '#336f4f',
    950: '#000000',
  },
}
SCSS
$custom: #336f4f;
$custom-light: #709980;
$custom-dark: #000000;
JSON
{
  "hex": "#336f4f",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 79
  },
  "hsl": {
    "h": 148,
    "s": 37.037,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4921,
    "c": 0.08175,
    "h": 158
  },
  "luminance": 0.12637
}

Semantic roles & 50–950 ramp

primary
#336F4F
secondary
#A05E81
accent
#5B98CD
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #336F4F

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

Preview Lab → · Contrast checker → · Palette generator →

#336F4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva