#335616#335616

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

Color values

HEX#335616
RGBrgb(51, 86, 22)
HSLhsl(93, 59%, 21%)
HSVhsv(93, 74%, 34%)
CMYKcmyk(40.7%, 0%, 74.4%, 66.3%)
CIE-LABlab(32.74, -24.78, 31.83)
CIE-LCHlch(32.74, 40.34, 127.90°)
OKLaboklab(41.18% -0.0694 0.0724)
OKLCHoklch(41.18% 0.1 133.8)
XYZxyz(4.8378, 7.4171, 1.9356)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335616 #391656
analogous
#535616 #335616 #165619
triadic
#335616 #163356 #561633
tetradic
#335616 #165356 #391656 #561916
square
#335616 #165356 #391656 #561916
split-complementary
#335616 #191656 #561653
monochromatic
#0E1806 #16250A #335616 #508722 #6DB72F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335616#FFFFFF#000000##FFFFFF
##3356161.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)
#5A4F0C
Deuteranopia (green-blind)
#554C1C
Tritanopia (blue-blind)
#335249
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #335616;
/* rgb */ color: rgb(51, 86, 22);
/* oklch */ color: oklch(41.2% 0.100 133.8);
Tailwind
colors: {
  custom: {
    50: '#6e8657',
    500: '#335616',
    950: '#000000',
  },
}
SCSS
$custom: #335616;
$custom-light: #6e8657;
$custom-dark: #000000;
JSON
{
  "hex": "#335616",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 22
  },
  "hsl": {
    "h": 92.813,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41181,
    "c": 0.10023,
    "h": 133.8
  },
  "luminance": 0.07417
}

Semantic roles & 50–950 ramp

primary
#335616
secondary
#683A8D
accent
#45E29B
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335616

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

Preview Lab → · Contrast checker → · Palette generator →

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