#336725#336725

#336725 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.2% C 0.113 H 139.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#336725
RGBrgb(51, 103, 37)
HSLhsl(107, 47%, 27%)
HSVhsv(107, 64%, 40%)
CMYKcmyk(50.5%, 0%, 64.1%, 59.6%)
CIE-LABlab(38.79, -31.18, 31.25)
CIE-LCHlch(38.79, 44.14, 134.94°)
OKLaboklab(46.18% -0.0856 0.0731)
OKLCHoklch(46.18% 0.113 139.5)
XYZxyz(6.5492, 10.5374, 3.4387)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336725 #592567
analogous
#546725 #336725 #256738
triadic
#336725 #253367 #672533
tetradic
#336725 #255467 #592567 #673825
square
#336725 #255467 #592567 #673825
split-complementary
#336725 #382567 #672554
monochromatic
#0B1708 #1D3A15 #336725 #499435 #62BE49

Accessibility & contrast

On white

6.76
#336725 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#336725 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336725
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336725#FFFFFF#000000##FFFFFF
##3367251.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1E
Deuteranopia (green-blind)
#635A2A
Tritanopia (blue-blind)
#2E6459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #336725;
/* rgb */ color: rgb(51, 103, 37);
/* oklch */ color: oklch(46.2% 0.113 139.5);
Tailwind
colors: {
  custom: {
    50: '#709362',
    500: '#336725',
    950: '#000000',
  },
}
SCSS
$custom: #336725;
$custom-light: #709362;
$custom-dark: #000000;
JSON
{
  "hex": "#336725",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 37
  },
  "hsl": {
    "h": 107.273,
    "s": 47.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.46184,
    "c": 0.11253,
    "h": 139.5
  },
  "luminance": 0.10538
}

Semantic roles & 50–950 ramp

primary
#336725
secondary
#8A4E9A
accent
#51D7BA
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #336725

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

Preview Lab → · Contrast checker → · Palette generator →

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