#335D16#335D16

#335D16 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.2% C 0.110 H 135.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#335D16
RGBrgb(51, 93, 22)
HSLhsl(95, 62%, 23%)
HSVhsv(95, 76%, 36%)
CMYKcmyk(45.2%, 0%, 76.3%, 63.5%)
CIE-LABlab(35.18, -28.11, 34.35)
CIE-LCHlch(35.18, 44.39, 129.30°)
OKLaboklab(43.18% -0.0784 0.0776)
OKLCHoklch(43.18% 0.11 135.3)
XYZxyz(5.4243, 8.5901, 2.1311)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D16 #40165D
analogous
#565D16 #335D16 #165D1D
triadic
#335D16 #16335D #5D1633
tetradic
#335D16 #16565D #40165D #5D1D16
square
#335D16 #16565D #40165D #5D1D16
split-complementary
#335D16 #1D165D #5D1656
monochromatic
#0E1906 #182C0A #335D16 #4E8E22 #69C02D

Accessibility & contrast

On white

7.73
#335D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#335D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335D16
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D16#FFFFFF#000000##FFFFFF
##335D161.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550A
Deuteranopia (green-blind)
#5B511D
Tritanopia (blue-blind)
#32594F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335d16;
/* rgb */ color: rgb(51, 93, 22);
/* oklch */ color: oklch(43.2% 0.110 135.3);
Tailwind
colors: {
  custom: {
    50: '#6f8b58',
    500: '#335d16',
    950: '#000000',
  },
}
SCSS
$custom: #335d16;
$custom-light: #6f8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#335d16",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 22
  },
  "hsl": {
    "h": 95.493,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43181,
    "c": 0.11032,
    "h": 135.3
  },
  "luminance": 0.0859
}

Semantic roles & 50–950 ramp

primary
#335D16
secondary
#703B94
accent
#43E5A3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #335D16

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

Preview Lab → · Contrast checker → · Palette generator →

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