#336331#336331

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

Color values

HEX#336331
RGBrgb(51, 99, 49)
HSLhsl(118, 34%, 29%)
HSVhsv(118, 51%, 39%)
CMYKcmyk(48.5%, 0%, 50.5%, 61.2%)
CIE-LABlab(37.57, -27.69, 23.37)
CIE-LCHlch(37.57, 36.23, 139.84°)
OKLaboklab(45.24% -0.0754 0.0568)
OKLCHoklch(45.24% 0.094 143)
XYZxyz(6.3812, 9.8488, 4.4699)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336331 #613163
analogous
#4C6331 #336331 #316348
triadic
#336331 #313363 #633133
tetradic
#336331 #314C63 #613163 #634831
square
#336331 #314C63 #613163 #634831
split-complementary
#336331 #483163 #63314C
monochromatic
#0B140A #1E3A1D #336331 #488C45 #62B05F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336331#FFFFFF#000000##FFFFFF
##3363311.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)
#655B2D
Deuteranopia (green-blind)
#5E5734
Tritanopia (blue-blind)
#2D6057
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #336331;
/* rgb */ color: rgb(51, 99, 49);
/* oklch */ color: oklch(45.2% 0.094 143.0);
Tailwind
colors: {
  custom: {
    50: '#6e906a',
    500: '#336331',
    950: '#000000',
  },
}
SCSS
$custom: #336331;
$custom-light: #6e906a;
$custom-dark: #000000;
JSON
{
  "hex": "#336331",
  "rgb": {
    "r": 51,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 117.6,
    "s": 33.784,
    "l": 29.02
  },
  "oklch": {
    "l": 0.45235,
    "c": 0.09438,
    "h": 143
  },
  "luminance": 0.09849
}

Semantic roles & 50–950 ramp

primary
#336331
secondary
#925C94
accent
#5ECAC6
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #336331

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

Preview Lab → · Contrast checker → · Palette generator →

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