#335D0D#335D0D

#335D0D is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.1% C 0.116 H 134.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#335D0D
RGBrgb(51, 93, 13)
HSLhsl(92, 75%, 21%)
HSVhsv(92, 86%, 36%)
CMYKcmyk(45.2%, 0%, 86%, 63.5%)
CIE-LABlab(35.13, -28.72, 37.66)
CIE-LCHlch(35.13, 47.37, 127.33°)
OKLaboklab(43.12% -0.0807 0.0831)
OKLCHoklch(43.12% 0.116 134.2)
XYZxyz(5.3521, 8.5613, 1.7512)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D0D #370D5D
analogous
#5B5D0D #335D0D #0D5D0F
triadic
#335D0D #0D335D #5D0D33
tetradic
#335D0D #0D5B5D #370D5D #5D0F0D
square
#335D0D #0D5B5D #370D5D #5D0F0D
split-complementary
#335D0D #0F0D5D #5D0D5B
monochromatic
#0F1B04 #162705 #335D0D #509315 #6EC81C

Accessibility & contrast

On white

7.74
#335D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#335D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335D0D
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D0D#FFFFFF#000000##FFFFFF
##335D0D1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#32594E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335d0d;
/* rgb */ color: rgb(51, 93, 13);
/* oklch */ color: oklch(43.1% 0.116 134.2);
Tailwind
colors: {
  custom: {
    50: '#6f8b54',
    500: '#335d0d',
    950: '#000000',
  },
}
SCSS
$custom: #335d0d;
$custom-light: #6f8b54;
$custom-dark: #000000;
JSON
{
  "hex": "#335d0d",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 13
  },
  "hsl": {
    "h": 91.5,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.43116,
    "c": 0.11582,
    "h": 134.2
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#335D0D
secondary
#662F97
accent
#36F299
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #335D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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