#336615#336615

#336615 is a mid, vivid yellow-green. Relative luminance 0.103; OKLCH L 45.7% C 0.123 H 136.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#336615
RGBrgb(51, 102, 21)
HSLhsl(98, 66%, 24%)
HSVhsv(98, 79%, 40%)
CMYKcmyk(50%, 0%, 79.4%, 60%)
CIE-LABlab(38.31, -32.24, 37.86)
CIE-LCHlch(38.31, 49.73, 130.42°)
OKLaboklab(45.74% -0.0896 0.0848)
OKLCHoklch(45.74% 0.123 136.6)
XYZxyz(6.2518, 10.2603, 2.3603)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336615 #481566
analogous
#5C6615 #336615 #156620
triadic
#336615 #153366 #661533
tetradic
#336615 #155C66 #481566 #662015
square
#336615 #155C66 #481566 #662015
split-complementary
#336615 #201566 #66155C
monochromatic
#0D1905 #1A330B #336615 #4C991F #66CC2A

Accessibility & contrast

On white

6.88
#336615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#336615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336615
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336615#FFFFFF#000000##FFFFFF
##3366151.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D05
Deuteranopia (green-blind)
#63591D
Tritanopia (blue-blind)
#306257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #336615;
/* rgb */ color: rgb(51, 102, 21);
/* oklch */ color: oklch(45.7% 0.123 136.6);
Tailwind
colors: {
  custom: {
    50: '#709259',
    500: '#336615',
    950: '#000000',
  },
}
SCSS
$custom: #336615;
$custom-light: #709259;
$custom-dark: #000000;
JSON
{
  "hex": "#336615",
  "rgb": {
    "r": 51,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 97.778,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45741,
    "c": 0.12339,
    "h": 136.6
  },
  "luminance": 0.10261
}

Semantic roles & 50–950 ramp

primary
#336615
secondary
#783A9D
accent
#3FE9AA
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336615

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

Preview Lab → · Contrast checker → · Palette generator →

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