#336216#336216

#336216 is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 44.6% C 0.117 H 136.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#336216
RGBrgb(51, 98, 22)
HSLhsl(97, 63%, 24%)
HSVhsv(97, 78%, 38%)
CMYKcmyk(48%, 0%, 77.6%, 61.6%)
CIE-LABlab(36.92, -30.40, 36.10)
CIE-LCHlch(36.92, 47.20, 130.09°)
OKLaboklab(44.61% -0.0846 0.0813)
OKLCHoklch(44.61% 0.117 136.1)
XYZxyz(5.8776, 9.4967, 2.2822)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336216 #451662
analogous
#596216 #336216 #16621F
triadic
#336216 #163362 #621633
tetradic
#336216 #165962 #451662 #621F16
square
#336216 #165962 #451662 #621F16
split-complementary
#336216 #1F1662 #621659
monochromatic
#0D1906 #19300B #336216 #4D9421 #67C62C

Accessibility & contrast

On white

7.24
#336216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#336216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336216
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336216#FFFFFF#000000##FFFFFF
##3362161.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665908
Deuteranopia (green-blind)
#5F551D
Tritanopia (blue-blind)
#315E53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #336216;
/* rgb */ color: rgb(51, 98, 22);
/* oklch */ color: oklch(44.6% 0.117 136.1);
Tailwind
colors: {
  custom: {
    50: '#708f59',
    500: '#336216',
    950: '#000000',
  },
}
SCSS
$custom: #336216;
$custom-light: #708f59;
$custom-dark: #000000;
JSON
{
  "hex": "#336216",
  "rgb": {
    "r": 51,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 97.105,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44608,
    "c": 0.11731,
    "h": 136.1
  },
  "luminance": 0.09497
}

Semantic roles & 50–950 ramp

primary
#336216
secondary
#753B99
accent
#41E6A7
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #336216

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

Preview Lab → · Contrast checker → · Palette generator →

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