#336827#336827

#336827 is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.5% C 0.112 H 140.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#336827
RGBrgb(51, 104, 39)
HSLhsl(109, 45%, 28%)
HSVhsv(109, 63%, 41%)
CMYKcmyk(51%, 0%, 62.5%, 59.2%)
CIE-LABlab(39.16, -31.39, 30.66)
CIE-LCHlch(39.16, 43.88, 135.68°)
OKLaboklab(46.49% -0.086 0.072)
OKLCHoklch(46.49% 0.112 140.1)
XYZxyz(6.6815, 10.7504, 3.6420)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336827 #5C2768
analogous
#536827 #336827 #27683B
triadic
#336827 #273368 #682733
tetradic
#336827 #275368 #5C2768 #683B27
square
#336827 #275368 #5C2768 #683B27
split-complementary
#336827 #3B2768 #682753
monochromatic
#0B1608 #1D3B16 #336827 #499538 #62BC4D

Accessibility & contrast

On white

6.67
#336827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#336827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336827
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336827#FFFFFF#000000##FFFFFF
##3368271.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F20
Deuteranopia (green-blind)
#645A2C
Tritanopia (blue-blind)
#2E655A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #336827;
/* rgb */ color: rgb(51, 104, 39);
/* oklch */ color: oklch(46.5% 0.112 140.1);
Tailwind
colors: {
  custom: {
    50: '#709364',
    500: '#336827',
    950: '#000000',
  },
}
SCSS
$custom: #336827;
$custom-light: #709364;
$custom-dark: #000000;
JSON
{
  "hex": "#336827",
  "rgb": {
    "r": 51,
    "g": 104,
    "b": 39
  },
  "hsl": {
    "h": 108.923,
    "s": 45.455,
    "l": 28.039
  },
  "oklch": {
    "l": 0.46492,
    "c": 0.11217,
    "h": 140.1
  },
  "luminance": 0.10751
}

Semantic roles & 50–950 ramp

primary
#336827
secondary
#8D509B
accent
#53D5BD
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#080D05
muted
#7B7E7A

Preview Lab

Preview with #336827

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

Preview Lab → · Contrast checker → · Palette generator →

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