#336710#336710

#336710 is a mid, vivid yellow-green. Relative luminance 0.104; OKLCH L 46.0% C 0.128 H 136.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#336710
RGBrgb(51, 103, 16)
HSLhsl(96, 73%, 23%)
HSVhsv(96, 84%, 40%)
CMYKcmyk(50.5%, 0%, 84.5%, 59.6%)
CIE-LABlab(38.62, -33.00, 39.93)
CIE-LCHlch(38.62, 51.80, 129.57°)
OKLaboklab(45.99% -0.092 0.0883)
OKLCHoklch(45.99% 0.128 136.2)
XYZxyz(6.3088, 10.4413, 2.1730)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336710 #441067
analogous
#5E6710 #336710 #106718
triadic
#336710 #103367 #671033
tetradic
#336710 #105E67 #441067 #671810
square
#336710 #105E67 #441067 #671810
split-complementary
#336710 #181067 #67105E
monochromatic
#0D1A04 #193208 #336710 #4D9C18 #67D120

Accessibility & contrast

On white

6.80
#336710 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#336710 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336710
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336710#FFFFFF#000000##FFFFFF
##3367101.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#64591A
Tritanopia (blue-blind)
#316357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #336710;
/* rgb */ color: rgb(51, 103, 16);
/* oklch */ color: oklch(46.0% 0.128 136.2);
Tailwind
colors: {
  custom: {
    50: '#719357',
    500: '#336710',
    950: '#000000',
  },
}
SCSS
$custom: #336710;
$custom-light: #719357;
$custom-dark: #000000;
JSON
{
  "hex": "#336710",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 16
  },
  "hsl": {
    "h": 95.862,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45993,
    "c": 0.12753,
    "h": 136.2
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#336710
secondary
#74339F
accent
#38F0A6
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #336710

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

Preview Lab → · Contrast checker → · Palette generator →

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