#336C25#336C25

#336C25 is a mid, moderate green. Relative luminance 0.116; OKLCH L 47.6% C 0.120 H 139.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#336C25
RGBrgb(51, 108, 37)
HSLhsl(108, 49%, 28%)
HSVhsv(108, 66%, 42%)
CMYKcmyk(52.8%, 0%, 65.7%, 57.6%)
CIE-LABlab(40.51, -33.39, 33.19)
CIE-LCHlch(40.51, 47.08, 135.18°)
OKLaboklab(47.6% -0.0916 0.0772)
OKLCHoklch(47.6% 0.12 139.9)
XYZxyz(7.0614, 11.5620, 3.6095)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336C25 #5E256C
analogous
#566C25 #336C25 #256C3A
triadic
#336C25 #25336C #6C2533
tetradic
#336C25 #25566C #5E256C #6C3A25
square
#336C25 #25566C #5E256C #6C3A25
split-complementary
#336C25 #3A256C #6C2556
monochromatic
#0B1708 #1D3E15 #336C25 #499A35 #62C14A

Accessibility & contrast

On white

6.34
#336C25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#336C25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336C25
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336C25#FFFFFF#000000##FFFFFF
##336C251.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F631D
Deuteranopia (green-blind)
#675E2B
Tritanopia (blue-blind)
#2D685D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336c25;
/* rgb */ color: rgb(51, 108, 37);
/* oklch */ color: oklch(47.6% 0.120 139.9);
Tailwind
colors: {
  custom: {
    50: '#709763',
    500: '#336c25',
    950: '#000000',
  },
}
SCSS
$custom: #336c25;
$custom-light: #709763;
$custom-dark: #000000;
JSON
{
  "hex": "#336c25",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 37
  },
  "hsl": {
    "h": 108.169,
    "s": 48.966,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47597,
    "c": 0.11978,
    "h": 139.9
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

primary
#336C25
secondary
#8F4E9F
accent
#4FD9BD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080D05
muted
#7B7E7A

Preview Lab

Preview with #336C25

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

Preview Lab → · Contrast checker → · Palette generator →

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