#336B13#336B13

#336B13 is a mid, vivid yellow-green. Relative luminance 0.113; OKLCH L 47.2% C 0.131 H 137.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#336B13
RGBrgb(51, 107, 19)
HSLhsl(98, 70%, 25%)
HSVhsv(98, 82%, 42%)
CMYKcmyk(52.3%, 0%, 82.2%, 58%)
CIE-LABlab(40.02, -34.53, 40.24)
CIE-LCHlch(40.02, 53.02, 130.63°)
OKLaboklab(47.15% -0.0959 0.0895)
OKLCHoklch(47.15% 0.131 137)
XYZxyz(6.7403, 11.2657, 2.4353)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B13 #4B136B
analogous
#5F6B13 #336B13 #136B1F
triadic
#336B13 #13336B #6B1333
tetradic
#336B13 #135F6B #4B136B #6B1F13
square
#336B13 #135F6B #4B136B #6B1F13
split-complementary
#336B13 #1F136B #6B135F
monochromatic
#0C1A05 #1A370A #336B13 #4C9F1C #65D325

Accessibility & contrast

On white

6.46
#336B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#336B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336B13
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B13#FFFFFF#000000##FFFFFF
##336B131.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#30675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336b13;
/* rgb */ color: rgb(51, 107, 19);
/* oklch */ color: oklch(47.2% 0.131 137.0);
Tailwind
colors: {
  custom: {
    50: '#719659',
    500: '#336b13',
    950: '#000000',
  },
}
SCSS
$custom: #336b13;
$custom-light: #719659;
$custom-dark: #000000;
JSON
{
  "hex": "#336b13",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 19
  },
  "hsl": {
    "h": 98.182,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.13116,
    "h": 137
  },
  "luminance": 0.11266
}

Semantic roles & 50–950 ramp

primary
#336B13
secondary
#7B38A2
accent
#3BEDAC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336B13

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

Preview Lab → · Contrast checker → · Palette generator →

#336B13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva