#336F2F#336F2F

#336F2F is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.6% C 0.115 H 142.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#336F2F
RGBrgb(51, 111, 47)
HSLhsl(116, 41%, 31%)
HSVhsv(116, 58%, 44%)
CMYKcmyk(54.1%, 0%, 57.7%, 56.5%)
CIE-LABlab(41.65, -33.45, 29.44)
CIE-LCHlch(41.65, 44.57, 138.65°)
OKLaboklab(48.57% -0.0911 0.0701)
OKLCHoklch(48.57% 0.115 142.4)
XYZxyz(7.5624, 12.2773, 4.6600)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F2F #6B2F6F
analogous
#536F2F #336F2F #2F6F4B
triadic
#336F2F #2F336F #6F2F33
tetradic
#336F2F #2F536F #6B2F6F #6F4B2F
square
#336F2F #2F536F #6B2F6F #6F4B2F
split-complementary
#336F2F #4B2F6F #6F2F53
monochromatic
#0B190B #1F441D #336F2F #479A41 #64BB5E

Accessibility & contrast

On white

6.08
#336F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#336F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F2F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F2F#FFFFFF#000000##FFFFFF
##336F2F1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716629
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#2B6C61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f2f;
/* rgb */ color: rgb(51, 111, 47);
/* oklch */ color: oklch(48.6% 0.115 142.4);
Tailwind
colors: {
  custom: {
    50: '#709969',
    500: '#336f2f',
    950: '#000000',
  },
}
SCSS
$custom: #336f2f;
$custom-light: #709969;
$custom-dark: #000000;
JSON
{
  "hex": "#336f2f",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 116.25,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.48572,
    "c": 0.11499,
    "h": 142.4
  },
  "luminance": 0.12278
}

Semantic roles & 50–950 ramp

primary
#336F2F
secondary
#9C59A0
accent
#57D0C9
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #336F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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