#335615#335615

#335615 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.2% C 0.101 H 133.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#335615
RGBrgb(51, 86, 21)
HSLhsl(92, 61%, 21%)
HSVhsv(92, 76%, 34%)
CMYKcmyk(40.7%, 0%, 75.6%, 66.3%)
CIE-LABlab(32.73, -24.86, 32.27)
CIE-LCHlch(32.73, 40.74, 127.61°)
OKLaboklab(41.17% -0.0697 0.0731)
OKLCHoklch(41.17% 0.101 133.6)
XYZxyz(4.8283, 7.4133, 1.8858)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335615 #381556
analogous
#535615 #335615 #155617
triadic
#335615 #153356 #561533
tetradic
#335615 #155356 #381556 #561715
square
#335615 #155356 #381556 #561715
split-complementary
#335615 #171556 #561553
monochromatic
#0F1906 #162509 #335615 #508721 #6DB82D

Accessibility & contrast

On white

8.46
#335615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#335615 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335615
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335615#FFFFFF#000000##FFFFFF
##3356151.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0B
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#335249
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #335615;
/* rgb */ color: rgb(51, 86, 21);
/* oklch */ color: oklch(41.2% 0.101 133.6);
Tailwind
colors: {
  custom: {
    50: '#6e8657',
    500: '#335615',
    950: '#000000',
  },
}
SCSS
$custom: #335615;
$custom-light: #6e8657;
$custom-dark: #000000;
JSON
{
  "hex": "#335615",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 21
  },
  "hsl": {
    "h": 92.308,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41172,
    "c": 0.10099,
    "h": 133.6
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#335615
secondary
#67398E
accent
#44E49A
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335615

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

Preview Lab → · Contrast checker → · Palette generator →

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