#336826#336826

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

Color values

HEX#336826
RGBrgb(51, 104, 38)
HSLhsl(108, 46%, 28%)
HSVhsv(108, 63%, 41%)
CMYKcmyk(51%, 0%, 63.5%, 59.2%)
CIE-LABlab(39.15, -31.51, 31.15)
CIE-LCHlch(39.15, 44.31, 135.33°)
OKLaboklab(46.48% -0.0864 0.073)
OKLCHoklch(46.48% 0.113 139.8)
XYZxyz(6.6651, 10.7439, 3.5559)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336826 #5B2668
analogous
#546826 #336826 #26683A
triadic
#336826 #263368 #682633
tetradic
#336826 #265468 #5B2668 #683A26
square
#336826 #265468 #5B2668 #683A26
split-complementary
#336826 #3A2668 #682654
monochromatic
#0B1608 #1D3B16 #336826 #499536 #62BD4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336826#FFFFFF#000000##FFFFFF
##3368261.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)
#6B5F1F
Deuteranopia (green-blind)
#645A2B
Tritanopia (blue-blind)
#2E655A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #336826;
/* rgb */ color: rgb(51, 104, 38);
/* oklch */ color: oklch(46.5% 0.113 139.8);
Tailwind
colors: {
  custom: {
    50: '#709363',
    500: '#336826',
    950: '#000000',
  },
}
SCSS
$custom: #336826;
$custom-light: #709363;
$custom-dark: #000000;
JSON
{
  "hex": "#336826",
  "rgb": {
    "r": 51,
    "g": 104,
    "b": 38
  },
  "hsl": {
    "h": 108.182,
    "s": 46.479,
    "l": 27.843
  },
  "oklch": {
    "l": 0.46479,
    "c": 0.1131,
    "h": 139.8
  },
  "luminance": 0.10744
}

Semantic roles & 50–950 ramp

primary
#336826
secondary
#8C4F9B
accent
#52D6BC
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#080D05
muted
#7B7E7A

Preview Lab

Preview with #336826

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

Preview Lab → · Contrast checker → · Palette generator →

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