#336610#336610

#336610 is a mid, vivid yellow-green. Relative luminance 0.102; OKLCH L 45.7% C 0.126 H 136.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#336610
RGBrgb(51, 102, 16)
HSLhsl(96, 73%, 23%)
HSVhsv(96, 84%, 40%)
CMYKcmyk(50%, 0%, 84.3%, 60%)
CIE-LABlab(38.28, -32.57, 39.61)
CIE-LCHlch(38.28, 51.28, 129.43°)
OKLaboklab(45.71% -0.0908 0.0876)
OKLCHoklch(45.71% 0.126 136)
XYZxyz(6.2100, 10.2436, 2.1401)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336610 #431066
analogous
#5E6610 #336610 #106618
triadic
#336610 #103366 #661033
tetradic
#336610 #105E66 #431066 #661810
square
#336610 #105E66 #431066 #661810
split-complementary
#336610 #181066 #66105E
monochromatic
#0D1A04 #193108 #336610 #4D9B18 #68D021

Accessibility & contrast

On white

6.89
#336610 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#336610 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336610
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336610#FFFFFF#000000##FFFFFF
##3366101.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#63591A
Tritanopia (blue-blind)
#316256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #336610;
/* rgb */ color: rgb(51, 102, 16);
/* oklch */ color: oklch(45.7% 0.126 136.0);
Tailwind
colors: {
  custom: {
    50: '#719257',
    500: '#336610',
    950: '#000000',
  },
}
SCSS
$custom: #336610;
$custom-light: #719257;
$custom-dark: #000000;
JSON
{
  "hex": "#336610",
  "rgb": {
    "r": 51,
    "g": 102,
    "b": 16
  },
  "hsl": {
    "h": 95.581,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45707,
    "c": 0.12622,
    "h": 136
  },
  "luminance": 0.10244
}

Semantic roles & 50–950 ramp

primary
#336610
secondary
#73339E
accent
#38F0A5
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #336610

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

Preview Lab → · Contrast checker → · Palette generator →

#336610 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva