#336B25#336B25

#336B25 is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.3% C 0.118 H 139.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#336B25
RGBrgb(51, 107, 37)
HSLhsl(108, 49%, 28%)
HSVhsv(108, 65%, 42%)
CMYKcmyk(52.3%, 0%, 65.4%, 58%)
CIE-LABlab(40.17, -32.95, 32.80)
CIE-LCHlch(40.17, 46.49, 135.13°)
OKLaboklab(47.31% -0.0904 0.0764)
OKLCHoklch(47.31% 0.118 139.8)
XYZxyz(6.9566, 11.3523, 3.5745)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B25 #5D256B
analogous
#566B25 #336B25 #256B3A
triadic
#336B25 #25336B #6B2533
tetradic
#336B25 #25566B #5D256B #6B3A25
square
#336B25 #25566B #5D256B #6B3A25
split-complementary
#336B25 #3A256B #6B2556
monochromatic
#0B1708 #1D3E15 #336B25 #499835 #62C04A

Accessibility & contrast

On white

6.42
#336B25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#336B25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336B25
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B25#FFFFFF#000000##FFFFFF
##336B251.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E621D
Deuteranopia (green-blind)
#675D2B
Tritanopia (blue-blind)
#2E675C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336b25;
/* rgb */ color: rgb(51, 107, 37);
/* oklch */ color: oklch(47.3% 0.118 139.8);
Tailwind
colors: {
  custom: {
    50: '#709663',
    500: '#336b25',
    950: '#000000',
  },
}
SCSS
$custom: #336b25;
$custom-light: #709663;
$custom-dark: #000000;
JSON
{
  "hex": "#336b25",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 37
  },
  "hsl": {
    "h": 108,
    "s": 48.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.47314,
    "c": 0.11834,
    "h": 139.8
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#336B25
secondary
#8E4E9E
accent
#50D8BD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080D05
muted
#7B7E7A

Preview Lab

Preview with #336B25

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

Preview Lab → · Contrast checker → · Palette generator →

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