#336F19#336F19

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

Color values

HEX#336F19
RGBrgb(51, 111, 25)
HSLhsl(102, 63%, 27%)
HSVhsv(102, 77%, 44%)
CMYKcmyk(54.1%, 0%, 77.5%, 56.5%)
CIE-LABlab(41.44, -35.79, 39.43)
CIE-LCHlch(41.44, 53.25, 132.23°)
OKLaboklab(48.33% -0.0989 0.0887)
OKLCHoklch(48.33% 0.133 138.1)
XYZxyz(7.2249, 12.1423, 2.8825)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F19 #55196F
analogous
#5E6F19 #336F19 #196F2A
triadic
#336F19 #19336F #6F1933
tetradic
#336F19 #195E6F #55196F #6F2A19
square
#336F19 #195E6F #55196F #6F2A19
split-complementary
#336F19 #2A196F #6F195E
monochromatic
#0B1906 #1C3D0E #336F19 #4AA124 #62D132

Accessibility & contrast

On white

6.12
#336F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336F19
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F19#FFFFFF#000000##FFFFFF
##336F191.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #336f19;
/* rgb */ color: rgb(51, 111, 25);
/* oklch */ color: oklch(48.3% 0.133 138.1);
Tailwind
colors: {
  custom: {
    50: '#72995c',
    500: '#336f19',
    950: '#000000',
  },
}
SCSS
$custom: #336f19;
$custom-light: #72995c;
$custom-dark: #000000;
JSON
{
  "hex": "#336f19",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 101.86,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48329,
    "c": 0.13286,
    "h": 138.1
  },
  "luminance": 0.12143
}

Semantic roles & 50–950 ramp

primary
#336F19
secondary
#863FA4
accent
#42E6B4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336F19

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

Preview Lab → · Contrast checker → · Palette generator →

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