#336239#336239

#336239 is a mid, moderate green. Relative luminance 0.097; OKLCH L 45.1% C 0.084 H 146.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#336239
RGBrgb(51, 98, 57)
HSLhsl(128, 32%, 29%)
HSVhsv(128, 48%, 38%)
CMYKcmyk(48%, 0%, 41.8%, 61.6%)
CIE-LABlab(37.36, -25.84, 18.48)
CIE-LCHlch(37.36, 31.77, 144.42°)
OKLaboklab(45.11% -0.0703 0.0459)
OKLCHoklch(45.11% 0.084 146.9)
XYZxyz(6.4711, 9.7341, 5.4080)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336239 #62335C
analogous
#456233 #336239 #336251
triadic
#336239 #393362 #623933
tetradic
#336239 #334562 #62335C #625133
square
#336239 #334562 #62335C #625133
split-complementary
#336239 #513362 #623345
monochromatic
#0A140C #1E3A22 #336239 #488A50 #62AD6C

Accessibility & contrast

On white

7.13
#336239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#336239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336239
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336239#FFFFFF#000000##FFFFFF
##3362391.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635B36
Deuteranopia (green-blind)
#5C563C
Tritanopia (blue-blind)
#2C6058
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #336239;
/* rgb */ color: rgb(51, 98, 57);
/* oklch */ color: oklch(45.1% 0.084 146.9);
Tailwind
colors: {
  custom: {
    50: '#6e8f70',
    500: '#336239',
    950: '#000000',
  },
}
SCSS
$custom: #336239;
$custom-light: #6e8f70;
$custom-dark: #000000;
JSON
{
  "hex": "#336239",
  "rgb": {
    "r": 51,
    "g": 98,
    "b": 57
  },
  "hsl": {
    "h": 127.66,
    "s": 31.544,
    "l": 29.216
  },
  "oklch": {
    "l": 0.45108,
    "c": 0.08389,
    "h": 146.9
  },
  "luminance": 0.09735
}

Semantic roles & 50–950 ramp

primary
#336239
secondary
#935E8C
accent
#60BAC8
background
#F6F8F6
surface
#ECF0EC
border
#C7CBC7
text
#070C07
muted
#7A7D7A

Preview Lab

Preview with #336239

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

Preview Lab → · Contrast checker → · Palette generator →

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