#336342#336342

#336342 is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.6% C 0.076 H 152.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#336342
RGBrgb(51, 99, 66)
HSLhsl(139, 32%, 29%)
HSVhsv(139, 48%, 39%)
CMYKcmyk(48.5%, 0%, 33.3%, 61.2%)
CIE-LABlab(37.88, -24.57, 13.82)
CIE-LCHlch(37.88, 28.19, 150.63°)
OKLaboklab(45.59% -0.067 0.0349)
OKLCHoklch(45.59% 0.076 152.5)
XYZxyz(6.8100, 10.0203, 6.7285)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336342 #633354
analogous
#3C6333 #336342 #33635A
triadic
#336342 #423363 #634233
tetradic
#336342 #333C63 #633354 #635A33
square
#336342 #333C63 #633354 #635A33
split-complementary
#336342 #5A3363 #63333C
monochromatic
#0A140D #1E3B27 #336342 #488B5D #62AE7A

Accessibility & contrast

On white

6.99
#336342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#336342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336342
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336342#FFFFFF#000000##FFFFFF
##3363421.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635C40
Deuteranopia (green-blind)
#5C5744
Tritanopia (blue-blind)
#29625A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #336342;
/* rgb */ color: rgb(51, 99, 66);
/* oklch */ color: oklch(45.6% 0.076 152.5);
Tailwind
colors: {
  custom: {
    50: '#6e9076',
    500: '#336342',
    950: '#000000',
  },
}
SCSS
$custom: #336342;
$custom-light: #6e9076;
$custom-dark: #000000;
JSON
{
  "hex": "#336342",
  "rgb": {
    "r": 51,
    "g": 99,
    "b": 66
  },
  "hsl": {
    "h": 138.75,
    "s": 32,
    "l": 29.412
  },
  "oklch": {
    "l": 0.45588,
    "c": 0.07558,
    "h": 152.5
  },
  "luminance": 0.10021
}

Semantic roles & 50–950 ramp

primary
#336342
secondary
#945E83
accent
#60A7C8
background
#F6F8F7
surface
#ECF0ED
border
#C7CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #336342

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

Preview Lab → · Contrast checker → · Palette generator →

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