#336513#336513

#336513 is a mid, vivid yellow-green. Relative luminance 0.101; OKLCH L 45.4% C 0.123 H 136.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#336513
RGBrgb(51, 101, 19)
HSLhsl(97, 68%, 24%)
HSVhsv(97, 81%, 40%)
CMYKcmyk(49.5%, 0%, 81.2%, 60.4%)
CIE-LABlab(37.95, -31.94, 38.26)
CIE-LCHlch(37.95, 49.84, 129.86°)
OKLaboklab(45.44% -0.089 0.0853)
OKLCHoklch(45.44% 0.123 136.2)
XYZxyz(6.1363, 10.0578, 2.2340)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336513 #451365
analogous
#5C6513 #336513 #13651C
triadic
#336513 #133365 #651333
tetradic
#336513 #135C65 #451365 #651C13
square
#336513 #135C65 #451365 #651C13
split-complementary
#336513 #1C1365 #65135C
monochromatic
#0D1A05 #193109 #336513 #4D991D #67CC26

Accessibility & contrast

On white

6.97
#336513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#336513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336513
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336513#FFFFFF#000000##FFFFFF
##3365131.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C02
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#316156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #336513;
/* rgb */ color: rgb(51, 101, 19);
/* oklch */ color: oklch(45.4% 0.123 136.2);
Tailwind
colors: {
  custom: {
    50: '#709158',
    500: '#336513',
    950: '#000000',
  },
}
SCSS
$custom: #336513;
$custom-light: #709158;
$custom-dark: #000000;
JSON
{
  "hex": "#336513",
  "rgb": {
    "r": 51,
    "g": 101,
    "b": 19
  },
  "hsl": {
    "h": 96.585,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45442,
    "c": 0.12326,
    "h": 136.2
  },
  "luminance": 0.10058
}

Semantic roles & 50–950 ramp

primary
#336513
secondary
#75379D
accent
#3DEBA7
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D04
muted
#7B7D79

Preview Lab

Preview with #336513

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

Preview Lab → · Contrast checker → · Palette generator →

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