#336A26#336A26

#336A26 is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.0% C 0.116 H 140.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#336A26
RGBrgb(51, 106, 38)
HSLhsl(109, 47%, 28%)
HSVhsv(109, 64%, 42%)
CMYKcmyk(51.9%, 0%, 64.2%, 58.4%)
CIE-LABlab(39.83, -32.40, 31.93)
CIE-LCHlch(39.83, 45.49, 135.41°)
OKLaboklab(47.04% -0.0888 0.0746)
OKLCHoklch(47.04% 0.116 140)
XYZxyz(6.8688, 11.1513, 3.6238)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A26 #5D266A
analogous
#556A26 #336A26 #266A3B
triadic
#336A26 #26336A #6A2633
tetradic
#336A26 #26556A #5D266A #6A3B26
square
#336A26 #26556A #5D266A #6A3B26
split-complementary
#336A26 #3B266A #6A2655
monochromatic
#0B1708 #1D3D16 #336A26 #499736 #62BF4C

Accessibility & contrast

On white

6.50
#336A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#336A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A26
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A26#FFFFFF#000000##FFFFFF
##336A261.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D611E
Deuteranopia (green-blind)
#665C2B
Tritanopia (blue-blind)
#2E675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336a26;
/* rgb */ color: rgb(51, 106, 38);
/* oklch */ color: oklch(47.0% 0.116 140.0);
Tailwind
colors: {
  custom: {
    50: '#709563',
    500: '#336a26',
    950: '#000000',
  },
}
SCSS
$custom: #336a26;
$custom-light: #709563;
$custom-dark: #000000;
JSON
{
  "hex": "#336a26",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 38
  },
  "hsl": {
    "h": 108.529,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.47044,
    "c": 0.11602,
    "h": 140
  },
  "luminance": 0.11152
}

Semantic roles & 50–950 ramp

primary
#336A26
secondary
#8E4F9D
accent
#51D7BD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080D05
muted
#7B7E7A

Preview Lab

Preview with #336A26

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

Preview Lab → · Contrast checker → · Palette generator →

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