#335613#335613

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

Color values

HEX#335613
RGBrgb(51, 86, 19)
HSLhsl(91, 64%, 21%)
HSVhsv(91, 78%, 34%)
CMYKcmyk(40.7%, 0%, 77.9%, 66.3%)
CIE-LABlab(32.71, -25.03, 33.12)
CIE-LCHlch(32.71, 41.51, 127.08°)
OKLaboklab(41.15% -0.0703 0.0746)
OKLCHoklch(41.15% 0.102 133.3)
XYZxyz(4.8105, 7.4062, 1.7920)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335613 #361356
analogous
#545613 #335613 #135614
triadic
#335613 #133356 #561333
tetradic
#335613 #135456 #361356 #561413
square
#335613 #135456 #361356 #561413
split-complementary
#335613 #141356 #561354
monochromatic
#0F1906 #152408 #335613 #51881E #6EBA29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335613#FFFFFF#000000##FFFFFF
##3356131.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)
#5A4F07
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#335249
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #335613;
/* rgb */ color: rgb(51, 86, 19);
/* oklch */ color: oklch(41.2% 0.102 133.3);
Tailwind
colors: {
  custom: {
    50: '#6e8656',
    500: '#335613',
    950: '#000000',
  },
}
SCSS
$custom: #335613;
$custom-light: #6e8656;
$custom-dark: #000000;
JSON
{
  "hex": "#335613",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 19
  },
  "hsl": {
    "h": 91.343,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41154,
    "c": 0.10246,
    "h": 133.3
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#335613
secondary
#64368E
accent
#41E798
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335613

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

Preview Lab → · Contrast checker → · Palette generator →

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