#336236#336236

#336236 is a mid, moderate green. Relative luminance 0.097; OKLCH L 45.0% C 0.087 H 145.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#336236
RGBrgb(51, 98, 54)
HSLhsl(124, 32%, 29%)
HSVhsv(124, 48%, 38%)
CMYKcmyk(48%, 0%, 44.9%, 61.6%)
CIE-LABlab(37.31, -26.38, 20.17)
CIE-LCHlch(37.31, 33.20, 142.60°)
OKLaboklab(45.05% -0.0717 0.0497)
OKLCHoklch(45.05% 0.087 145.3)
XYZxyz(6.3984, 9.7051, 5.0254)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336236 #62335F
analogous
#486233 #336236 #33624E
triadic
#336236 #363362 #623633
tetradic
#336236 #334862 #62335F #624E33
square
#336236 #334862 #62335F #624E33
split-complementary
#336236 #4E3362 #623348
monochromatic
#0A140B #1E3A20 #336236 #488A4C #62AD67

Accessibility & contrast

On white

7.14
#336236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#336236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336236
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336236#FFFFFF#000000##FFFFFF
##3362361.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635B33
Deuteranopia (green-blind)
#5D5639
Tritanopia (blue-blind)
#2C6057
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #336236;
/* rgb */ color: rgb(51, 98, 54);
/* oklch */ color: oklch(45.0% 0.087 145.3);
Tailwind
colors: {
  custom: {
    50: '#6e8f6d',
    500: '#336236',
    950: '#000000',
  },
}
SCSS
$custom: #336236;
$custom-light: #6e8f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#336236",
  "rgb": {
    "r": 51,
    "g": 98,
    "b": 54
  },
  "hsl": {
    "h": 123.83,
    "s": 31.544,
    "l": 29.216
  },
  "oklch": {
    "l": 0.45047,
    "c": 0.08725,
    "h": 145.3
  },
  "luminance": 0.09706
}

Semantic roles & 50–950 ramp

primary
#336236
secondary
#935E90
accent
#60C1C8
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C07
muted
#7A7D7A

Preview Lab

Preview with #336236

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

Preview Lab → · Contrast checker → · Palette generator →

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