#336237#336237

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

Color values

HEX#336237
RGBrgb(51, 98, 55)
HSLhsl(125, 32%, 29%)
HSVhsv(125, 48%, 38%)
CMYKcmyk(48%, 0%, 43.9%, 61.6%)
CIE-LABlab(37.33, -26.20, 19.61)
CIE-LCHlch(37.33, 32.73, 143.19°)
OKLaboklab(45.07% -0.0712 0.0484)
OKLCHoklch(45.07% 0.086 145.8)
XYZxyz(6.4222, 9.7146, 5.1504)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336237 #62335E
analogous
#476233 #336237 #33624F
triadic
#336237 #373362 #623733
tetradic
#336237 #334762 #62335E #624F33
square
#336237 #334762 #62335E #624F33
split-complementary
#336237 #4F3362 #623347
monochromatic
#0A140B #1E3A20 #336237 #488A4E #62AD68

Accessibility & contrast

On white

7.14
#336237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#336237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336237
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336237#FFFFFF#000000##FFFFFF
##3362371.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635B34
Deuteranopia (green-blind)
#5D563A
Tritanopia (blue-blind)
#2C6057
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #336237;
/* rgb */ color: rgb(51, 98, 55);
/* oklch */ color: oklch(45.1% 0.086 145.8);
Tailwind
colors: {
  custom: {
    50: '#6e8f6e',
    500: '#336237',
    950: '#000000',
  },
}
SCSS
$custom: #336237;
$custom-light: #6e8f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#336237",
  "rgb": {
    "r": 51,
    "g": 98,
    "b": 55
  },
  "hsl": {
    "h": 125.106,
    "s": 31.544,
    "l": 29.216
  },
  "oklch": {
    "l": 0.45067,
    "c": 0.08614,
    "h": 145.8
  },
  "luminance": 0.09715
}

Semantic roles & 50–950 ramp

primary
#336237
secondary
#935E8E
accent
#60BFC8
background
#F6F8F6
surface
#ECF0EC
border
#C7CBC7
text
#070C07
muted
#7A7D7A

Preview Lab

Preview with #336237

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

Preview Lab → · Contrast checker → · Palette generator →

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