#336A4E#336A4E

#336A4E is a mid, moderate green. Relative luminance 0.116; OKLCH L 47.8% C 0.075 H 159.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#336A4E
RGBrgb(51, 106, 78)
HSLhsl(149, 35%, 31%)
HSVhsv(149, 52%, 42%)
CMYKcmyk(51.9%, 0%, 26.4%, 58.4%)
CIE-LABlab(40.51, -25.43, 10.24)
CIE-LCHlch(40.51, 27.41, 158.07°)
OKLaboklab(47.82% -0.07 0.0262)
OKLCHoklch(47.82% 0.075 159.5)
XYZxyz(7.8938, 11.5613, 9.0218)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A4E #6A334F
analogous
#336A33 #336A4E #336A69
triadic
#336A4E #4E336A #6A4E33
tetradic
#336A4E #33336A #6A334F #6A6933
square
#336A4E #33336A #6A334F #6A6933
split-complementary
#336A4E #69336A #6A3333
monochromatic
#0B1711 #1F4130 #336A4E #47936C #63B48B

Accessibility & contrast

On white

6.34
#336A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#336A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A4E
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A4E#FFFFFF#000000##FFFFFF
##336A4E1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69634C
Deuteranopia (green-blind)
#615D50
Tritanopia (blue-blind)
#236A62
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336a4e;
/* rgb */ color: rgb(51, 106, 78);
/* oklch */ color: oklch(47.8% 0.075 159.5);
Tailwind
colors: {
  custom: {
    50: '#6f957f',
    500: '#336a4e',
    950: '#000000',
  },
}
SCSS
$custom: #336a4e;
$custom-light: #6f957f;
$custom-dark: #000000;
JSON
{
  "hex": "#336a4e",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 78
  },
  "hsl": {
    "h": 149.455,
    "s": 35.032,
    "l": 30.784
  },
  "oklch": {
    "l": 0.47817,
    "c": 0.07473,
    "h": 159.5
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#336A4E
secondary
#9B5E7D
accent
#5D95CB
background
#F6F9F7
surface
#ECF1EE
border
#C7CBC9
text
#070D0A
muted
#7A7E7C

Preview Lab

Preview with #336A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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