#335C19#335C19

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

Color values

HEX#335C19
RGBrgb(51, 92, 25)
HSLhsl(97, 57%, 23%)
HSVhsv(97, 73%, 36%)
CMYKcmyk(44.6%, 0%, 72.8%, 63.9%)
CIE-LABlab(34.86, -27.39, 32.70)
CIE-LCHlch(34.86, 42.65, 129.95°)
OKLaboklab(42.92% -0.0762 0.0746)
OKLCHoklch(42.92% 0.107 135.6)
XYZxyz(5.3677, 8.4280, 2.2634)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C19 #42195C
analogous
#545C19 #335C19 #195C20
triadic
#335C19 #19335C #5C1933
tetradic
#335C19 #19545C #42195C #5C2019
square
#335C19 #19545C #42195C #5C2019
split-complementary
#335C19 #20195C #5C1954
monochromatic
#0D1807 #182C0C #335C19 #4E8C26 #68BC33

Accessibility & contrast

On white

7.82
#335C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#335C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335C19
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C19#FFFFFF#000000##FFFFFF
##335C191.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540F
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#32584E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #335c19;
/* rgb */ color: rgb(51, 92, 25);
/* oklch */ color: oklch(42.9% 0.107 135.6);
Tailwind
colors: {
  custom: {
    50: '#6f8a5a',
    500: '#335c19',
    950: '#000000',
  },
}
SCSS
$custom: #335c19;
$custom-light: #6f8a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#335c19",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 25
  },
  "hsl": {
    "h": 96.716,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42924,
    "c": 0.10664,
    "h": 135.6
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#335C19
secondary
#723F92
accent
#47E1A5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #335C19

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

Preview Lab → · Contrast checker → · Palette generator →

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