#336415#336415

#336415 is a mid, vivid yellow-green. Relative luminance 0.099; OKLCH L 45.2% C 0.121 H 136.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#336415
RGBrgb(51, 100, 21)
HSLhsl(97, 65%, 24%)
HSVhsv(97, 79%, 39%)
CMYKcmyk(49%, 0%, 79%, 60.8%)
CIE-LABlab(37.61, -31.36, 37.18)
CIE-LCHlch(37.61, 48.64, 130.15°)
OKLaboklab(45.17% -0.0873 0.0834)
OKLCHoklch(45.17% 0.121 136.3)
XYZxyz(6.0576, 9.8719, 2.2956)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336415 #461564
analogous
#5A6415 #336415 #15641E
triadic
#336415 #153364 #641533
tetradic
#336415 #155A64 #461564 #641E15
square
#336415 #155A64 #461564 #641E15
split-complementary
#336415 #1E1564 #64155A
monochromatic
#0D1905 #19310A #336415 #4D9720 #67C92A

Accessibility & contrast

On white

7.06
#336415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#336415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336415
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336415#FFFFFF#000000##FFFFFF
##3364151.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B05
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#316055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #336415;
/* rgb */ color: rgb(51, 100, 21);
/* oklch */ color: oklch(45.2% 0.121 136.3);
Tailwind
colors: {
  custom: {
    50: '#709059',
    500: '#336415',
    950: '#000000',
  },
}
SCSS
$custom: #336415;
$custom-light: #709059;
$custom-dark: #000000;
JSON
{
  "hex": "#336415",
  "rgb": {
    "r": 51,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 97.215,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45171,
    "c": 0.1207,
    "h": 136.3
  },
  "luminance": 0.09872
}

Semantic roles & 50–950 ramp

primary
#336415
secondary
#763A9B
accent
#40E8A8
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #336415

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

Preview Lab → · Contrast checker → · Palette generator →

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