#336211#336211

#336211 is a dark, vivid yellow-green. Relative luminance 0.095; OKLCH L 44.6% C 0.120 H 135.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#336211
RGBrgb(51, 98, 17)
HSLhsl(95, 70%, 23%)
HSVhsv(95, 83%, 38%)
CMYKcmyk(48%, 0%, 82.7%, 61.6%)
CIE-LABlab(36.89, -30.75, 37.96)
CIE-LCHlch(36.89, 48.85, 129.00°)
OKLaboklab(44.57% -0.0859 0.0844)
OKLCHoklch(44.57% 0.12 135.5)
XYZxyz(5.8340, 9.4793, 2.0525)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336211 #401162
analogous
#5B6211 #336211 #116218
triadic
#336211 #113362 #621133
tetradic
#336211 #115B62 #401162 #621811
square
#336211 #115B62 #401162 #621811
split-complementary
#336211 #181162 #62115B
monochromatic
#0E1A05 #182E08 #336211 #4E961A #69CA23

Accessibility & contrast

On white

7.25
#336211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #336211
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336211#FFFFFF#000000##FFFFFF
##3362111.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#60551A
Tritanopia (blue-blind)
#315E53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #336211;
/* rgb */ color: rgb(51, 98, 17);
/* oklch */ color: oklch(44.6% 0.120 135.5);
Tailwind
colors: {
  custom: {
    50: '#708f56',
    500: '#336211',
    950: '#000000',
  },
}
SCSS
$custom: #336211;
$custom-light: #708f56;
$custom-dark: #000000;
JSON
{
  "hex": "#336211",
  "rgb": {
    "r": 51,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 94.815,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44571,
    "c": 0.12039,
    "h": 135.5
  },
  "luminance": 0.0948
}

Semantic roles & 50–950 ramp

primary
#336211
secondary
#70349A
accent
#3BEDA2
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #336211

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

Preview Lab → · Contrast checker → · Palette generator →

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