#336926#336926

#336926 is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.8% C 0.115 H 139.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#336926
RGBrgb(51, 105, 38)
HSLhsl(108, 47%, 28%)
HSVhsv(108, 64%, 41%)
CMYKcmyk(51.4%, 0%, 63.8%, 58.8%)
CIE-LABlab(39.49, -31.96, 31.54)
CIE-LCHlch(39.49, 44.90, 135.37°)
OKLaboklab(46.76% -0.0876 0.0738)
OKLCHoklch(46.76% 0.115 139.9)
XYZxyz(6.7664, 10.9464, 3.5897)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336926 #5C2669
analogous
#546926 #336926 #26693A
triadic
#336926 #263369 #692633
tetradic
#336926 #265469 #5C2669 #693A26
square
#336926 #265469 #5C2669 #693A26
split-complementary
#336926 #3A2669 #692654
monochromatic
#0B1608 #1D3C16 #336926 #499636 #62BE4B

Accessibility & contrast

On white

6.58
#336926 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#336926 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336926
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336926#FFFFFF#000000##FFFFFF
##3369261.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C601F
Deuteranopia (green-blind)
#655B2B
Tritanopia (blue-blind)
#2E665B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #336926;
/* rgb */ color: rgb(51, 105, 38);
/* oklch */ color: oklch(46.8% 0.115 139.9);
Tailwind
colors: {
  custom: {
    50: '#709463',
    500: '#336926',
    950: '#000000',
  },
}
SCSS
$custom: #336926;
$custom-light: #709463;
$custom-dark: #000000;
JSON
{
  "hex": "#336926",
  "rgb": {
    "r": 51,
    "g": 105,
    "b": 38
  },
  "hsl": {
    "h": 108.358,
    "s": 46.853,
    "l": 28.039
  },
  "oklch": {
    "l": 0.46761,
    "c": 0.11457,
    "h": 139.9
  },
  "luminance": 0.10947
}

Semantic roles & 50–950 ramp

primary
#336926
secondary
#8D4F9C
accent
#51D6BD
background
#F7F9F6
surface
#EDF1EB
border
#C8CBC6
text
#080D05
muted
#7B7E7A

Preview Lab

Preview with #336926

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

Preview Lab → · Contrast checker → · Palette generator →

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