#336F2C#336F2C

#336F2C is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.5% C 0.118 H 141.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#336F2C
RGBrgb(51, 111, 44)
HSLhsl(114, 43%, 30%)
HSVhsv(114, 60%, 44%)
CMYKcmyk(54.1%, 0%, 60.4%, 56.5%)
CIE-LABlab(41.62, -33.85, 30.96)
CIE-LCHlch(41.62, 45.87, 137.56°)
OKLaboklab(48.53% -0.0924 0.0731)
OKLCHoklch(48.53% 0.118 141.6)
XYZxyz(7.5040, 12.2540, 4.3522)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F2C #682C6F
analogous
#546F2C #336F2C #2C6F46
triadic
#336F2C #2C336F #6F2C33
tetradic
#336F2C #2C546F #682C6F #6F462C
square
#336F2C #2C546F #682C6F #6F462C
split-complementary
#336F2C #462C6F #6F2C54
monochromatic
#0B1709 #1F431B #336F2C #479B3D #63BD58

Accessibility & contrast

On white

6.09
#336F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#336F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F2C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F2C#FFFFFF#000000##FFFFFF
##336F2C1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726525
Deuteranopia (green-blind)
#6A6031
Tritanopia (blue-blind)
#2C6C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f2c;
/* rgb */ color: rgb(51, 111, 44);
/* oklch */ color: oklch(48.5% 0.118 141.6);
Tailwind
colors: {
  custom: {
    50: '#709967',
    500: '#336f2c',
    950: '#000000',
  },
}
SCSS
$custom: #336f2c;
$custom-light: #709967;
$custom-dark: #000000;
JSON
{
  "hex": "#336f2c",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 44
  },
  "hsl": {
    "h": 113.731,
    "s": 43.226,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4853,
    "c": 0.11784,
    "h": 141.6
  },
  "luminance": 0.12255
}

Semantic roles & 50–950 ramp

primary
#336F2C
secondary
#9956A1
accent
#55D3C6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #336F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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