#336F25#336F25

#336F25 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.124 H 140.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#336F25
RGBrgb(51, 111, 37)
HSLhsl(109, 50%, 29%)
HSVhsv(109, 67%, 44%)
CMYKcmyk(54.1%, 0%, 66.7%, 56.5%)
CIE-LABlab(41.54, -34.68, 34.33)
CIE-LCHlch(41.54, 48.80, 135.29°)
OKLaboklab(48.44% -0.0951 0.0796)
OKLCHoklch(48.44% 0.124 140.1)
XYZxyz(7.3833, 12.2057, 3.7168)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F25 #61256F
analogous
#586F25 #336F25 #256F3C
triadic
#336F25 #25336F #6F2533
tetradic
#336F25 #25586F #61256F #6F3C25
square
#336F25 #25586F #61256F #6F3C25
split-complementary
#336F25 #3C256F #6F2558
monochromatic
#0B1708 #1E4116 #336F25 #489D34 #62C34B

Accessibility & contrast

On white

6.10
#336F25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#336F25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F25
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F25#FFFFFF#000000##FFFFFF
##336F251.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72651C
Deuteranopia (green-blind)
#6A602B
Tritanopia (blue-blind)
#2D6B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f25;
/* rgb */ color: rgb(51, 111, 37);
/* oklch */ color: oklch(48.4% 0.124 140.1);
Tailwind
colors: {
  custom: {
    50: '#719963',
    500: '#336f25',
    950: '#000000',
  },
}
SCSS
$custom: #336f25;
$custom-light: #719963;
$custom-dark: #000000;
JSON
{
  "hex": "#336f25",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 37
  },
  "hsl": {
    "h": 108.649,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48443,
    "c": 0.12403,
    "h": 140.1
  },
  "luminance": 0.12206
}

Semantic roles & 50–950 ramp

primary
#336F25
secondary
#924EA2
accent
#4EDABF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #336F25

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

Preview Lab → · Contrast checker → · Palette generator →

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