#336E18#336E18

#336E18 is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.132 H 137.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#336E18
RGBrgb(51, 110, 24)
HSLhsl(101, 64%, 26%)
HSVhsv(101, 78%, 43%)
CMYKcmyk(53.6%, 0%, 78.2%, 56.9%)
CIE-LABlab(41.09, -35.45, 39.47)
CIE-LCHlch(41.09, 53.05, 131.93°)
OKLaboklab(48.04% -0.0981 0.0886)
OKLCHoklch(48.04% 0.132 137.9)
XYZxyz(7.1058, 11.9211, 2.7905)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E18 #53186E
analogous
#5E6E18 #336E18 #186E28
triadic
#336E18 #18336E #6E1833
tetradic
#336E18 #185E6E #53186E #6E2818
square
#336E18 #185E6E #53186E #6E2818
split-complementary
#336E18 #28186E #6E185E
monochromatic
#0C1905 #1C3C0D #336E18 #4AA023 #62D22F

Accessibility & contrast

On white

6.20
#336E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#336E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E18
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E18#FFFFFF#000000##FFFFFF
##336E181.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726407
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#2F6A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e18;
/* rgb */ color: rgb(51, 110, 24);
/* oklch */ color: oklch(48.0% 0.132 137.9);
Tailwind
colors: {
  custom: {
    50: '#71985c',
    500: '#336e18',
    950: '#000000',
  },
}
SCSS
$custom: #336e18;
$custom-light: #71985c;
$custom-dark: #000000;
JSON
{
  "hex": "#336e18",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 101.163,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48038,
    "c": 0.13218,
    "h": 137.9
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

primary
#336E18
secondary
#843EA4
accent
#41E7B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336E18

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

Preview Lab → · Contrast checker → · Palette generator →

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