#336E0E#336E0E

#336E0E is a mid, vivid yellow-green. Relative luminance 0.119; OKLCH L 48.0% C 0.137 H 136.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#336E0E
RGBrgb(51, 110, 14)
HSLhsl(97, 77%, 24%)
HSVhsv(97, 87%, 43%)
CMYKcmyk(53.6%, 0%, 87.3%, 56.9%)
CIE-LABlab(41.04, -36.06, 42.73)
CIE-LCHlch(41.04, 55.91, 130.16°)
OKLaboklab(47.98% -0.1003 0.0939)
OKLCHoklch(47.98% 0.137 136.9)
XYZxyz(7.0202, 11.8869, 2.3398)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E0E #490E6E
analogous
#636E0E #336E0E #0E6E19
triadic
#336E0E #0E336E #6E0E33
tetradic
#336E0E #0E636E #490E6E #6E190E
square
#336E0E #0E636E #490E6E #6E190E
split-complementary
#336E0E #190E6E #6E0E63
monochromatic
#0D1B03 #1A3807 #336E0E #4CA415 #65DB1C

Accessibility & contrast

On white

6.22
#336E0E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336E0E
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E0E#FFFFFF#000000##FFFFFF
##336E0E1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5F1A
Tritanopia (blue-blind)
#2F6A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e0e;
/* rgb */ color: rgb(51, 110, 14);
/* oklch */ color: oklch(48.0% 0.137 136.9);
Tailwind
colors: {
  custom: {
    50: '#729857',
    500: '#336e0e',
    950: '#000000',
  },
}
SCSS
$custom: #336e0e;
$custom-light: #729857;
$custom-dark: #000000;
JSON
{
  "hex": "#336e0e",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 14
  },
  "hsl": {
    "h": 96.875,
    "s": 77.419,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47976,
    "c": 0.13741,
    "h": 136.9
  },
  "luminance": 0.11887
}

Semantic roles & 50–950 ramp

primary
#336E0E
secondary
#7931A6
accent
#34F4AA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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