#335C13#335C13

#335C13 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.9% C 0.111 H 134.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#335C13
RGBrgb(51, 92, 19)
HSLhsl(94, 66%, 22%)
HSVhsv(94, 79%, 36%)
CMYKcmyk(44.6%, 0%, 79.3%, 63.9%)
CIE-LABlab(34.81, -27.88, 35.20)
CIE-LCHlch(34.81, 44.91, 128.38°)
OKLaboklab(42.87% -0.078 0.0789)
OKLCHoklch(42.87% 0.111 134.7)
XYZxyz(5.3098, 8.4048, 1.9585)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C13 #3C135C
analogous
#585C13 #335C13 #135C18
triadic
#335C13 #13335C #5C1333
tetradic
#335C13 #13585C #3C135C #5C1813
square
#335C13 #13585C #3C135C #5C1813
split-complementary
#335C13 #18135C #5C1358
monochromatic
#0E1905 #172909 #335C13 #4F8F1D #6BC128

Accessibility & contrast

On white

7.83
#335C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#335C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335C13
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C13#FFFFFF#000000##FFFFFF
##335C131.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605405
Deuteranopia (green-blind)
#5A511A
Tritanopia (blue-blind)
#32584E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #335c13;
/* rgb */ color: rgb(51, 92, 19);
/* oklch */ color: oklch(42.9% 0.111 134.7);
Tailwind
colors: {
  custom: {
    50: '#6f8a56',
    500: '#335c13',
    950: '#000000',
  },
}
SCSS
$custom: #335c13;
$custom-light: #6f8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#335c13",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 19
  },
  "hsl": {
    "h": 93.699,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4287,
    "c": 0.11097,
    "h": 134.7
  },
  "luminance": 0.08405
}

Semantic roles & 50–950 ramp

primary
#335C13
secondary
#6B3794
accent
#3FE99E
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #335C13

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

Preview Lab → · Contrast checker → · Palette generator →

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