#336243#336243

#336243 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.3% C 0.073 H 153.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#336243
RGBrgb(51, 98, 67)
HSLhsl(140, 32%, 29%)
HSVhsv(140, 48%, 38%)
CMYKcmyk(48%, 0%, 31.6%, 61.6%)
CIE-LABlab(37.56, -23.85, 12.79)
CIE-LCHlch(37.56, 27.06, 151.80°)
OKLaboklab(45.34% -0.0652 0.0324)
OKLCHoklch(45.34% 0.073 153.6)
XYZxyz(6.7456, 9.8439, 6.8537)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336243 #623352
analogous
#3B6233 #336243 #33625B
triadic
#336243 #433362 #624333
tetradic
#336243 #333B62 #623352 #625B33
square
#336243 #333B62 #623352 #625B33
split-complementary
#336243 #5B3362 #62333B
monochromatic
#0A140E #1E3A27 #336243 #488A5F #62AD7C

Accessibility & contrast

On white

7.07
#336243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#336243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336243
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336243#FFFFFF#000000##FFFFFF
##3362431.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625B41
Deuteranopia (green-blind)
#5B5645
Tritanopia (blue-blind)
#29615A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #336243;
/* rgb */ color: rgb(51, 98, 67);
/* oklch */ color: oklch(45.3% 0.073 153.6);
Tailwind
colors: {
  custom: {
    50: '#6e8f77',
    500: '#336243',
    950: '#000000',
  },
}
SCSS
$custom: #336243;
$custom-light: #6e8f77;
$custom-dark: #000000;
JSON
{
  "hex": "#336243",
  "rgb": {
    "r": 51,
    "g": 98,
    "b": 67
  },
  "hsl": {
    "h": 140.426,
    "s": 31.544,
    "l": 29.216
  },
  "oklch": {
    "l": 0.45336,
    "c": 0.0728,
    "h": 153.6
  },
  "luminance": 0.09844
}

Semantic roles & 50–950 ramp

primary
#336243
secondary
#935E81
accent
#60A4C8
background
#F6F8F7
surface
#ECF0ED
border
#C7CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #336243

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

Preview Lab → · Contrast checker → · Palette generator →

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