#336E28#336E28

#336E28 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.2% C 0.120 H 140.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#336E28
RGBrgb(51, 110, 40)
HSLhsl(111, 47%, 29%)
HSVhsv(111, 64%, 43%)
CMYKcmyk(53.6%, 0%, 63.6%, 56.9%)
CIE-LABlab(41.23, -33.91, 32.52)
CIE-LCHlch(41.23, 46.99, 136.20°)
OKLaboklab(48.2% -0.0928 0.0761)
OKLCHoklch(48.2% 0.12 140.6)
XYZxyz(7.3239, 12.0083, 3.9390)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E28 #63286E
analogous
#566E28 #336E28 #286E40
triadic
#336E28 #28336E #6E2833
tetradic
#336E28 #28566E #63286E #6E4028
square
#336E28 #28566E #63286E #6E4028
split-complementary
#336E28 #40286E #6E2856
monochromatic
#0A1608 #1E4118 #336E28 #489B38 #62C051

Accessibility & contrast

On white

6.17
#336E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#336E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E28
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E28#FFFFFF#000000##FFFFFF
##336E281.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716420
Deuteranopia (green-blind)
#695F2E
Tritanopia (blue-blind)
#2D6B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e28;
/* rgb */ color: rgb(51, 110, 40);
/* oklch */ color: oklch(48.2% 0.120 140.6);
Tailwind
colors: {
  custom: {
    50: '#719865',
    500: '#336e28',
    950: '#000000',
  },
}
SCSS
$custom: #336e28;
$custom-light: #719865;
$custom-dark: #000000;
JSON
{
  "hex": "#336e28",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 40
  },
  "hsl": {
    "h": 110.571,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.48197,
    "c": 0.12003,
    "h": 140.6
  },
  "luminance": 0.12009
}

Semantic roles & 50–950 ramp

primary
#336E28
secondary
#9451A0
accent
#51D6C1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #336E28

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

Preview Lab → · Contrast checker → · Palette generator →

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