#335C16#335C16

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

Color values

HEX#335C16
RGBrgb(51, 92, 22)
HSLhsl(95, 61%, 22%)
HSVhsv(95, 76%, 36%)
CMYKcmyk(44.6%, 0%, 76.1%, 63.9%)
CIE-LABlab(34.83, -27.65, 33.99)
CIE-LCHlch(34.83, 43.81, 129.12°)
OKLaboklab(42.9% -0.0771 0.0769)
OKLCHoklch(42.9% 0.109 135.1)
XYZxyz(5.3371, 8.4157, 2.1021)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C16 #3F165C
analogous
#565C16 #335C16 #165C1C
triadic
#335C16 #16335C #5C1633
tetradic
#335C16 #16565C #3F165C #5C1C16
square
#335C16 #16565C #3F165C #5C1C16
split-complementary
#335C16 #1C165C #5C1656
monochromatic
#0E1906 #182B0A #335C16 #4E8D22 #6ABF2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##335C16#FFFFFF#000000##FFFFFF
##335C161.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)
#60540A
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#32584E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #335c16;
/* rgb */ color: rgb(51, 92, 22);
/* oklch */ color: oklch(42.9% 0.109 135.1);
Tailwind
colors: {
  custom: {
    50: '#6f8a58',
    500: '#335c16',
    950: '#000000',
  },
}
SCSS
$custom: #335c16;
$custom-light: #6f8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#335c16",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 22
  },
  "hsl": {
    "h": 95.143,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42895,
    "c": 0.1089,
    "h": 135.1
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#335C16
secondary
#6E3B93
accent
#43E5A2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #335C16

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

Preview Lab → · Contrast checker → · Palette generator →

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