#336F18#336F18

#336F18 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.133 H 138.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#336F18
RGBrgb(51, 111, 24)
HSLhsl(101, 64%, 26%)
HSVhsv(101, 78%, 44%)
CMYKcmyk(54.1%, 0%, 78.4%, 56.5%)
CIE-LABlab(41.43, -35.86, 39.81)
CIE-LCHlch(41.43, 53.58, 132.02°)
OKLaboklab(48.32% -0.0992 0.0893)
OKLCHoklch(48.32% 0.133 138)
XYZxyz(7.2143, 12.1381, 2.8267)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F18 #54186F
analogous
#5F6F18 #336F18 #186F29
triadic
#336F18 #18336F #6F1833
tetradic
#336F18 #185F6F #54186F #6F2918
square
#336F18 #185F6F #54186F #6F2918
split-complementary
#336F18 #29186F #6F185F
monochromatic
#0C1905 #1C3D0D #336F18 #4AA123 #62D22F

Accessibility & contrast

On white

6.13
#336F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#336F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F18
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F18#FFFFFF#000000##FFFFFF
##336F181.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#2E6B5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f18;
/* rgb */ color: rgb(51, 111, 24);
/* oklch */ color: oklch(48.3% 0.133 138.0);
Tailwind
colors: {
  custom: {
    50: '#72995c',
    500: '#336f18',
    950: '#000000',
  },
}
SCSS
$custom: #336f18;
$custom-light: #72995c;
$custom-dark: #000000;
JSON
{
  "hex": "#336f18",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 101.379,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48322,
    "c": 0.13349,
    "h": 138
  },
  "luminance": 0.12139
}

Semantic roles & 50–950 ramp

primary
#336F18
secondary
#853EA5
accent
#40E7B4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336F18

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

Preview Lab → · Contrast checker → · Palette generator →

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