#335B13#335B13

#335B13 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.6% C 0.110 H 134.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#335B13
RGBrgb(51, 91, 19)
HSLhsl(93, 65%, 22%)
HSVhsv(93, 79%, 36%)
CMYKcmyk(44%, 0%, 79.1%, 64.3%)
CIE-LABlab(34.46, -27.41, 34.86)
CIE-LCHlch(34.46, 44.35, 128.18°)
OKLaboklab(42.58% -0.0767 0.0782)
OKLCHoklch(42.58% 0.11 134.5)
XYZxyz(5.2238, 8.2327, 1.9298)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335B13 #3B135B
analogous
#575B13 #335B13 #135B17
triadic
#335B13 #13335B #5B1333
tetradic
#335B13 #13575B #3B135B #5B1713
square
#335B13 #13575B #3B135B #5B1713
split-complementary
#335B13 #17135B #5B1357
monochromatic
#0E1905 #172808 #335B13 #4F8E1E #6CC028

Accessibility & contrast

On white

7.93
#335B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#335B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335B13
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335B13#FFFFFF#000000##FFFFFF
##335B131.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5306
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#32574D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #335b13;
/* rgb */ color: rgb(51, 91, 19);
/* oklch */ color: oklch(42.6% 0.110 134.5);
Tailwind
colors: {
  custom: {
    50: '#6f8a56',
    500: '#335b13',
    950: '#000000',
  },
}
SCSS
$custom: #335b13;
$custom-light: #6f8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#335b13",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 19
  },
  "hsl": {
    "h": 93.333,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42584,
    "c": 0.10957,
    "h": 134.5
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

primary
#335B13
secondary
#6A3793
accent
#3FE89D
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #335B13

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

Preview Lab → · Contrast checker → · Palette generator →

#335B13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva