#336F14#336F14

#336F14 is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.3% C 0.136 H 137.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#336F14
RGBrgb(51, 111, 20)
HSLhsl(100, 69%, 26%)
HSVhsv(100, 82%, 44%)
CMYKcmyk(54.1%, 0%, 82%, 56.5%)
CIE-LABlab(41.41, -36.14, 41.22)
CIE-LCHlch(41.41, 54.82, 131.24°)
OKLaboklab(48.29% -0.1002 0.0917)
OKLCHoklch(48.29% 0.136 137.5)
XYZxyz(7.1757, 12.1227, 2.6235)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F14 #50146F
analogous
#606F14 #336F14 #146F22
triadic
#336F14 #14336F #6F1433
tetradic
#336F14 #14606F #50146F #6F2214
square
#336F14 #14606F #50146F #6F2214
split-complementary
#336F14 #22146F #6F1460
monochromatic
#0C1A05 #1B3B0B #336F14 #4BA31D #63D727

Accessibility & contrast

On white

6.13
#336F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#336F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F14
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F14#FFFFFF#000000##FFFFFF
##336F141.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#2F6B5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f14;
/* rgb */ color: rgb(51, 111, 20);
/* oklch */ color: oklch(48.3% 0.136 137.5);
Tailwind
colors: {
  custom: {
    50: '#72995a',
    500: '#336f14',
    950: '#000000',
  },
}
SCSS
$custom: #336f14;
$custom-light: #72995a;
$custom-dark: #000000;
JSON
{
  "hex": "#336f14",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 20
  },
  "hsl": {
    "h": 99.56,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48294,
    "c": 0.13579,
    "h": 137.5
  },
  "luminance": 0.12123
}

Semantic roles & 50–950 ramp

primary
#336F14
secondary
#8139A6
accent
#3CECB0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336F14

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

Preview Lab → · Contrast checker → · Palette generator →

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