#335C1D#335C1D

#335C1D is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.0% C 0.103 H 136.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#335C1D
RGBrgb(51, 92, 29)
HSLhsl(99, 52%, 24%)
HSVhsv(99, 68%, 36%)
CMYKcmyk(44.6%, 0%, 68.5%, 63.9%)
CIE-LABlab(34.90, -27.00, 30.85)
CIE-LCHlch(34.90, 41.00, 131.19°)
OKLaboklab(42.97% -0.0748 0.0713)
OKLCHoklch(42.97% 0.103 136.4)
XYZxyz(5.4140, 8.4465, 2.5072)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C1D #461D5C
analogous
#525C1D #335C1D #1D5C26
triadic
#335C1D #1D335C #5C1D33
tetradic
#335C1D #1D525C #461D5C #5C261D
square
#335C1D #1D525C #461D5C #5C261D
split-complementary
#335C1D #261D5C #5C1D52
monochromatic
#0D1707 #192D0E #335C1D #4D8B2C #67B93A

Accessibility & contrast

On white

7.81
#335C1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335C1D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C1D#FFFFFF#000000##FFFFFF
##335C1D1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5415
Deuteranopia (green-blind)
#5A5122
Tritanopia (blue-blind)
#31594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #335c1d;
/* rgb */ color: rgb(51, 92, 29);
/* oklch */ color: oklch(43.0% 0.103 136.4);
Tailwind
colors: {
  custom: {
    50: '#6e8a5c',
    500: '#335c1d',
    950: '#000000',
  },
}
SCSS
$custom: #335c1d;
$custom-light: #6e8a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#335c1d",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 29
  },
  "hsl": {
    "h": 99.048,
    "s": 52.066,
    "l": 23.725
  },
  "oklch": {
    "l": 0.42966,
    "c": 0.10332,
    "h": 136.4
  },
  "luminance": 0.08447
}

Semantic roles & 50–950 ramp

primary
#335C1D
secondary
#764491
accent
#4CDCA9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #335C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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