#336A0E#336A0E

#336A0E is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.8% C 0.132 H 136.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#336A0E
RGBrgb(51, 106, 14)
HSLhsl(96, 77%, 24%)
HSVhsv(96, 87%, 42%)
CMYKcmyk(51.9%, 0%, 86.8%, 58.4%)
CIE-LABlab(39.65, -34.39, 41.49)
CIE-LCHlch(39.65, 53.89, 129.65°)
OKLaboklab(46.84% -0.0958 0.0913)
OKLCHoklch(46.84% 0.132 136.4)
XYZxyz(6.5984, 11.0431, 2.1992)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A0E #450E6A
analogous
#616A0E #336A0E #0E6A17
triadic
#336A0E #0E336A #6A0E33
tetradic
#336A0E #0E616A #450E6A #6A170E
square
#336A0E #0E616A #450E6A #6A170E
split-complementary
#336A0E #170E6A #6A0E61
monochromatic
#0D1B04 #193407 #336A0E #4DA015 #67D61C

Accessibility & contrast

On white

6.54
#336A0E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#336A0E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A0E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A0E#FFFFFF#000000##FFFFFF
##336A0E1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#30665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #336a0e;
/* rgb */ color: rgb(51, 106, 14);
/* oklch */ color: oklch(46.8% 0.132 136.4);
Tailwind
colors: {
  custom: {
    50: '#719557',
    500: '#336a0e',
    950: '#000000',
  },
}
SCSS
$custom: #336a0e;
$custom-light: #719557;
$custom-dark: #000000;
JSON
{
  "hex": "#336a0e",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 14
  },
  "hsl": {
    "h": 95.87,
    "s": 76.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46837,
    "c": 0.13236,
    "h": 136.4
  },
  "luminance": 0.11044
}

Semantic roles & 50–950 ramp

primary
#336A0E
secondary
#7531A3
accent
#35F3A7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #336A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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