#335516#335516

#335516 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.9% C 0.099 H 133.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#335516
RGBrgb(51, 85, 22)
HSLhsl(92, 59%, 21%)
HSVhsv(92, 74%, 33%)
CMYKcmyk(40%, 0%, 74.1%, 66.7%)
CIE-LABlab(32.39, -24.29, 31.47)
CIE-LCHlch(32.39, 39.75, 127.66°)
OKLaboklab(40.89% -0.068 0.0716)
OKLCHoklch(40.89% 0.099 133.5)
XYZxyz(4.7585, 7.2585, 1.9092)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335516 #381655
analogous
#525516 #335516 #165518
triadic
#335516 #163355 #551633
tetradic
#335516 #165255 #381655 #551816
square
#335516 #165255 #381655 #551816
split-complementary
#335516 #181655 #551652
monochromatic
#0F1806 #162409 #335516 #508623 #6DB62F

Accessibility & contrast

On white

8.57
#335516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#335516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335516
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335516#FFFFFF#000000##FFFFFF
##3355161.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0D
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#335148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #335516;
/* rgb */ color: rgb(51, 85, 22);
/* oklch */ color: oklch(40.9% 0.099 133.5);
Tailwind
colors: {
  custom: {
    50: '#6e8557',
    500: '#335516',
    950: '#000000',
  },
}
SCSS
$custom: #335516;
$custom-light: #6e8557;
$custom-dark: #000000;
JSON
{
  "hex": "#335516",
  "rgb": {
    "r": 51,
    "g": 85,
    "b": 22
  },
  "hsl": {
    "h": 92.381,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40895,
    "c": 0.09875,
    "h": 133.5
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#335516
secondary
#673A8C
accent
#46E29A
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335516

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

Preview Lab → · Contrast checker → · Palette generator →

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