#335913#335913

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

Color values

HEX#335913
RGBrgb(51, 89, 19)
HSLhsl(93, 65%, 21%)
HSVhsv(93, 79%, 35%)
CMYKcmyk(42.7%, 0%, 78.7%, 65.1%)
CIE-LABlab(33.76, -26.47, 34.17)
CIE-LCHlch(33.76, 43.22, 127.76°)
OKLaboklab(42.01% -0.0742 0.0768)
OKLCHoklch(42.01% 0.107 134)
XYZxyz(5.0551, 7.8953, 1.8736)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335913 #391359
analogous
#565913 #335913 #135916
triadic
#335913 #133359 #591333
tetradic
#335913 #135659 #391359 #591613
square
#335913 #135659 #391359 #591613
split-complementary
#335913 #161359 #591356
monochromatic
#0E1905 #162708 #335913 #508B1E #6DBE29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335913#FFFFFF#000000##FFFFFF
##3359131.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)
#5D5106
Deuteranopia (green-blind)
#584E1A
Tritanopia (blue-blind)
#33554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #335913;
/* rgb */ color: rgb(51, 89, 19);
/* oklch */ color: oklch(42.0% 0.107 134.0);
Tailwind
colors: {
  custom: {
    50: '#6f8856',
    500: '#335913',
    950: '#000000',
  },
}
SCSS
$custom: #335913;
$custom-light: #6f8856;
$custom-dark: #000000;
JSON
{
  "hex": "#335913",
  "rgb": {
    "r": 51,
    "g": 89,
    "b": 19
  },
  "hsl": {
    "h": 92.571,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42012,
    "c": 0.10675,
    "h": 134
  },
  "luminance": 0.07896
}

Semantic roles & 50–950 ramp

primary
#335913
secondary
#683791
accent
#40E89B
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #335913

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

Preview Lab → · Contrast checker → · Palette generator →

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