#336010#336010

#336010 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.0% C 0.118 H 135.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#336010
RGBrgb(51, 96, 16)
HSLhsl(94, 71%, 22%)
HSVhsv(94, 83%, 38%)
CMYKcmyk(46.9%, 0%, 83.3%, 62.4%)
CIE-LABlab(36.19, -29.91, 37.65)
CIE-LCHlch(36.19, 48.09, 128.47°)
OKLaboklab(43.99% -0.0837 0.0835)
OKLCHoklch(43.99% 0.118 135.1)
XYZxyz(5.6415, 9.1066, 1.9506)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336010 #3D1060
analogous
#5B6010 #336010 #106015
triadic
#336010 #103360 #601033
tetradic
#336010 #105B60 #3D1060 #601510
square
#336010 #105B60 #3D1060 #601510
split-complementary
#336010 #151060 #60105B
monochromatic
#0E1A04 #172C07 #336010 #4F9419 #6BC921

Accessibility & contrast

On white

7.44
#336010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#336010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336010
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336010#FFFFFF#000000##FFFFFF
##3360101.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#325C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #336010;
/* rgb */ color: rgb(51, 96, 16);
/* oklch */ color: oklch(44.0% 0.118 135.1);
Tailwind
colors: {
  custom: {
    50: '#708d56',
    500: '#336010',
    950: '#000000',
  },
}
SCSS
$custom: #336010;
$custom-light: #708d56;
$custom-dark: #000000;
JSON
{
  "hex": "#336010",
  "rgb": {
    "r": 51,
    "g": 96,
    "b": 16
  },
  "hsl": {
    "h": 93.75,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43993,
    "c": 0.11826,
    "h": 135.1
  },
  "luminance": 0.09107
}

Semantic roles & 50–950 ramp

primary
#336010
secondary
#6C3399
accent
#3AEE9F
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #336010

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

Preview Lab → · Contrast checker → · Palette generator →

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