#335614#335614

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

Color values

HEX#335614
RGBrgb(51, 86, 20)
HSLhsl(92, 62%, 21%)
HSVhsv(92, 77%, 34%)
CMYKcmyk(40.7%, 0%, 76.7%, 66.3%)
CIE-LABlab(32.72, -24.95, 32.70)
CIE-LCHlch(32.72, 41.13, 127.34°)
OKLaboklab(41.16% -0.07 0.0739)
OKLCHoklch(41.16% 0.102 133.5)
XYZxyz(4.8192, 7.4097, 1.8380)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335614 #371456
analogous
#545614 #335614 #145616
triadic
#335614 #143356 #561433
tetradic
#335614 #145456 #371456 #561614
square
#335614 #145456 #371456 #561614
split-complementary
#335614 #161456 #561454
monochromatic
#0F1906 #162408 #335614 #508820 #6EB92B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335614#FFFFFF#000000##FFFFFF
##3356141.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)
#5A4F09
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#335249
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #335614;
/* rgb */ color: rgb(51, 86, 20);
/* oklch */ color: oklch(41.2% 0.102 133.5);
Tailwind
colors: {
  custom: {
    50: '#6e8656',
    500: '#335614',
    950: '#000000',
  },
}
SCSS
$custom: #335614;
$custom-light: #6e8656;
$custom-dark: #000000;
JSON
{
  "hex": "#335614",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 20
  },
  "hsl": {
    "h": 91.818,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41163,
    "c": 0.10174,
    "h": 133.5
  },
  "luminance": 0.0741
}

Semantic roles & 50–950 ramp

primary
#335614
secondary
#66388E
accent
#42E599
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335614

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

Preview Lab → · Contrast checker → · Palette generator →

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