#335E19#335E19

#335E19 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.5% C 0.110 H 136.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#335E19
RGBrgb(51, 94, 25)
HSLhsl(97, 58%, 23%)
HSVhsv(97, 73%, 37%)
CMYKcmyk(45.7%, 0%, 73.4%, 63.1%)
CIE-LABlab(35.56, -28.32, 33.43)
CIE-LCHlch(35.56, 43.81, 130.27°)
OKLaboklab(43.49% -0.0787 0.0762)
OKLCHoklch(43.49% 0.11 136)
XYZxyz(5.5433, 8.7791, 2.3220)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E19 #44195E
analogous
#555E19 #335E19 #195E21
triadic
#335E19 #19335E #5E1933
tetradic
#335E19 #19555E #44195E #5E2119
square
#335E19 #19555E #44195E #5E2119
split-complementary
#335E19 #21195E #5E1955
monochromatic
#0D1806 #192E0C #335E19 #4D8E26 #67BF33

Accessibility & contrast

On white

7.62
#335E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#335E19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335E19
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E19#FFFFFF#000000##FFFFFF
##335E191.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560F
Deuteranopia (green-blind)
#5C521F
Tritanopia (blue-blind)
#315A50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335e19;
/* rgb */ color: rgb(51, 94, 25);
/* oklch */ color: oklch(43.5% 0.110 136.0);
Tailwind
colors: {
  custom: {
    50: '#6f8c5a',
    500: '#335e19',
    950: '#000000',
  },
}
SCSS
$custom: #335e19;
$custom-light: #6f8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#335e19",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 25
  },
  "hsl": {
    "h": 97.391,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43494,
    "c": 0.10952,
    "h": 136
  },
  "luminance": 0.08779
}

Semantic roles & 50–950 ramp

primary
#335E19
secondary
#743F94
accent
#47E1A7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #335E19

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

Preview Lab → · Contrast checker → · Palette generator →

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