#335D19#335D19

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

Color values

HEX#335D19
RGBrgb(51, 93, 25)
HSLhsl(97, 58%, 23%)
HSVhsv(97, 73%, 36%)
CMYKcmyk(45.2%, 0%, 73.1%, 63.5%)
CIE-LABlab(35.21, -27.86, 33.06)
CIE-LCHlch(35.21, 43.23, 130.12°)
OKLaboklab(43.21% -0.0775 0.0754)
OKLCHoklch(43.21% 0.108 135.8)
XYZxyz(5.4549, 8.6024, 2.2925)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D19 #43195D
analogous
#555D19 #335D19 #195D21
triadic
#335D19 #19335D #5D1933
tetradic
#335D19 #19555D #43195D #5D2119
square
#335D19 #19555D #43195D #5D2119
split-complementary
#335D19 #21195D #5D1955
monochromatic
#0D1806 #192D0C #335D19 #4D8D26 #68BD33

Accessibility & contrast

On white

7.72
#335D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335D19
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D19#FFFFFF#000000##FFFFFF
##335D191.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #335d19;
/* rgb */ color: rgb(51, 93, 25);
/* oklch */ color: oklch(43.2% 0.108 135.8);
Tailwind
colors: {
  custom: {
    50: '#6f8b5a',
    500: '#335d19',
    950: '#000000',
  },
}
SCSS
$custom: #335d19;
$custom-light: #6f8b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#335d19",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 25
  },
  "hsl": {
    "h": 97.059,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43209,
    "c": 0.10808,
    "h": 135.8
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#335D19
secondary
#733F93
accent
#47E1A6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #335D19

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

Preview Lab → · Contrast checker → · Palette generator →

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