#335914#335914

#335914 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.0% C 0.106 H 134.2°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#335914
RGBrgb(51, 89, 20)
HSLhsl(93, 63%, 21%)
HSVhsv(93, 78%, 35%)
CMYKcmyk(42.7%, 0%, 77.5%, 65.1%)
CIE-LABlab(33.77, -26.39, 33.76)
CIE-LCHlch(33.77, 42.85, 128.01°)
OKLaboklab(42.02% -0.0739 0.0761)
OKLCHoklch(42.02% 0.106 134.2)
XYZxyz(5.0638, 7.8988, 1.9195)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335914 #3A1459
analogous
#565914 #335914 #145917
triadic
#335914 #143359 #591433
tetradic
#335914 #145659 #3A1459 #591714
square
#335914 #145659 #3A1459 #591714
split-complementary
#335914 #171459 #591456
monochromatic
#0E1906 #162709 #335914 #508B1F #6CBD2A

Accessibility & contrast

On white

8.14
#335914 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#335914 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335914
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335914#FFFFFF#000000##FFFFFF
##3359141.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5108
Deuteranopia (green-blind)
#584E1B
Tritanopia (blue-blind)
#33554C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #335914;
/* rgb */ color: rgb(51, 89, 20);
/* oklch */ color: oklch(42.0% 0.106 134.2);
Tailwind
colors: {
  custom: {
    50: '#6e8857',
    500: '#335914',
    950: '#000000',
  },
}
SCSS
$custom: #335914;
$custom-light: #6e8857;
$custom-dark: #000000;
JSON
{
  "hex": "#335914",
  "rgb": {
    "r": 51,
    "g": 89,
    "b": 20
  },
  "hsl": {
    "h": 93.043,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42021,
    "c": 0.10606,
    "h": 134.2
  },
  "luminance": 0.07899
}

Semantic roles & 50–950 ramp

primary
#335914
secondary
#693891
accent
#41E69C
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335914

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

Preview Lab → · Contrast checker → · Palette generator →

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