#336310#336310

#336310 is a dark, vivid yellow-green. Relative luminance 0.097; OKLCH L 44.9% C 0.122 H 135.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#336310
RGBrgb(51, 99, 16)
HSLhsl(95, 72%, 23%)
HSVhsv(95, 84%, 39%)
CMYKcmyk(48.5%, 0%, 83.8%, 61.2%)
CIE-LABlab(37.23, -31.25, 38.63)
CIE-LCHlch(37.23, 49.69, 128.97°)
OKLaboklab(44.85% -0.0873 0.0856)
OKLCHoklch(44.85% 0.122 135.6)
XYZxyz(5.9205, 9.6645, 2.0436)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336310 #401063
analogous
#5C6310 #336310 #106317
triadic
#336310 #103363 #631033
tetradic
#336310 #105C63 #401063 #631710
square
#336310 #105C63 #401063 #631710
split-complementary
#336310 #171063 #63105C
monochromatic
#0E1A04 #182E07 #336310 #4E9819 #69CC21

Accessibility & contrast

On white

7.16
#336310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#336310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336310
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336310#FFFFFF#000000##FFFFFF
##3363101.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#615619
Tritanopia (blue-blind)
#315F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #336310;
/* rgb */ color: rgb(51, 99, 16);
/* oklch */ color: oklch(44.9% 0.122 135.6);
Tailwind
colors: {
  custom: {
    50: '#709056',
    500: '#336310',
    950: '#000000',
  },
}
SCSS
$custom: #336310;
$custom-light: #709056;
$custom-dark: #000000;
JSON
{
  "hex": "#336310",
  "rgb": {
    "r": 51,
    "g": 99,
    "b": 16
  },
  "hsl": {
    "h": 94.699,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44851,
    "c": 0.12227,
    "h": 135.6
  },
  "luminance": 0.09665
}

Semantic roles & 50–950 ramp

primary
#336310
secondary
#70339C
accent
#39EFA2
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #336310

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

Preview Lab → · Contrast checker → · Palette generator →

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