#336416#336416

#336416 is a mid, vivid yellow-green. Relative luminance 0.099; OKLCH L 45.2% C 0.120 H 136.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#336416
RGBrgb(51, 100, 22)
HSLhsl(98, 64%, 24%)
HSVhsv(98, 78%, 39%)
CMYKcmyk(49%, 0%, 78%, 60.8%)
CIE-LABlab(37.62, -31.29, 36.80)
CIE-LCHlch(37.62, 48.30, 130.37°)
OKLaboklab(45.18% -0.087 0.0827)
OKLCHoklch(45.18% 0.12 136.4)
XYZxyz(6.0671, 9.8757, 2.3454)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336416 #471664
analogous
#5A6416 #336416 #166420
triadic
#336416 #163364 #641633
tetradic
#336416 #165A64 #471664 #642016
square
#336416 #165A64 #471664 #642016
split-complementary
#336416 #201664 #64165A
monochromatic
#0D1906 #19320B #336416 #4D9621 #66C82C

Accessibility & contrast

On white

7.06
#336416 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#336416 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336416
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336416#FFFFFF#000000##FFFFFF
##3364161.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B07
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#316055
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #336416;
/* rgb */ color: rgb(51, 100, 22);
/* oklch */ color: oklch(45.2% 0.120 136.4);
Tailwind
colors: {
  custom: {
    50: '#709059',
    500: '#336416',
    950: '#000000',
  },
}
SCSS
$custom: #336416;
$custom-light: #709059;
$custom-dark: #000000;
JSON
{
  "hex": "#336416",
  "rgb": {
    "r": 51,
    "g": 100,
    "b": 22
  },
  "hsl": {
    "h": 97.692,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45179,
    "c": 0.12005,
    "h": 136.4
  },
  "luminance": 0.09876
}

Semantic roles & 50–950 ramp

primary
#336416
secondary
#773B9B
accent
#41E7A9
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #336416

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

Preview Lab → · Contrast checker → · Palette generator →

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