#336015#336015

#336015 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.0% C 0.115 H 135.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#336015
RGBrgb(51, 96, 21)
HSLhsl(96, 64%, 23%)
HSVhsv(96, 78%, 38%)
CMYKcmyk(46.9%, 0%, 78.1%, 62.4%)
CIE-LABlab(36.22, -29.57, 35.80)
CIE-LCHlch(36.22, 46.44, 129.55°)
OKLaboklab(44.03% -0.0824 0.0805)
OKLCHoklch(44.03% 0.115 135.7)
XYZxyz(5.6833, 9.1234, 2.1708)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336015 #421560
analogous
#586015 #336015 #15601C
triadic
#336015 #153360 #601533
tetradic
#336015 #155860 #421560 #601C15
square
#336015 #155860 #421560 #601C15
split-complementary
#336015 #1C1560 #601558
monochromatic
#0D1905 #182E0A #336015 #4E9220 #68C42B

Accessibility & contrast

On white

7.43
#336015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#336015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336015
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336015#FFFFFF#000000##FFFFFF
##3360151.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645807
Deuteranopia (green-blind)
#5E541C
Tritanopia (blue-blind)
#315C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #336015;
/* rgb */ color: rgb(51, 96, 21);
/* oklch */ color: oklch(44.0% 0.115 135.7);
Tailwind
colors: {
  custom: {
    50: '#6f8d58',
    500: '#336015',
    950: '#000000',
  },
}
SCSS
$custom: #336015;
$custom-light: #6f8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#336015",
  "rgb": {
    "r": 51,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 96,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44029,
    "c": 0.11522,
    "h": 135.7
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

primary
#336015
secondary
#723A97
accent
#41E7A5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #336015

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

Preview Lab → · Contrast checker → · Palette generator →

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