#336B14#336B14

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

Color values

HEX#336B14
RGBrgb(51, 107, 20)
HSLhsl(99, 69%, 25%)
HSVhsv(99, 81%, 42%)
CMYKcmyk(52.3%, 0%, 81.3%, 58%)
CIE-LABlab(40.03, -34.46, 39.90)
CIE-LCHlch(40.03, 52.72, 130.82°)
OKLaboklab(47.16% -0.0957 0.0889)
OKLCHoklch(47.16% 0.131 137.1)
XYZxyz(6.7490, 11.2692, 2.4812)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B14 #4C146B
analogous
#5E6B14 #336B14 #146B21
triadic
#336B14 #14336B #6B1433
tetradic
#336B14 #145E6B #4C146B #6B2114
square
#336B14 #145E6B #4C146B #6B2114
split-complementary
#336B14 #21146B #6B145E
monochromatic
#0C1A05 #1A370A #336B14 #4C9F1E #64D227

Accessibility & contrast

On white

6.45
#336B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #336B14
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B14#FFFFFF#000000##FFFFFF
##336B141.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #336b14;
/* rgb */ color: rgb(51, 107, 20);
/* oklch */ color: oklch(47.2% 0.131 137.1);
Tailwind
colors: {
  custom: {
    50: '#719659',
    500: '#336b14',
    950: '#000000',
  },
}
SCSS
$custom: #336b14;
$custom-light: #719659;
$custom-dark: #000000;
JSON
{
  "hex": "#336b14",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 20
  },
  "hsl": {
    "h": 98.621,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47157,
    "c": 0.13061,
    "h": 137.1
  },
  "luminance": 0.1127
}

Semantic roles & 50–950 ramp

primary
#336B14
secondary
#7C39A2
accent
#3CEBAD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336B14

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

Preview Lab → · Contrast checker → · Palette generator →

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