#335519#335519

#335519 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.9% C 0.096 H 134.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#335519
RGBrgb(51, 85, 25)
HSLhsl(94, 55%, 22%)
HSVhsv(94, 71%, 33%)
CMYKcmyk(40%, 0%, 70.6%, 66.7%)
CIE-LABlab(32.42, -24.01, 30.09)
CIE-LCHlch(32.42, 38.50, 128.59°)
OKLaboklab(40.93% -0.067 0.0691)
OKLCHoklch(40.93% 0.096 134.1)
XYZxyz(4.7891, 7.2708, 2.0706)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335519 #3B1955
analogous
#515519 #335519 #19551D
triadic
#335519 #193355 #551933
tetradic
#335519 #195155 #3B1955 #551D19
square
#335519 #195155 #3B1955 #551D19
split-complementary
#335519 #1D1955 #551951
monochromatic
#0E1807 #17260B #335519 #4F8427 #6CB435

Accessibility & contrast

On white

8.56
#335519 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#335519 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335519
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335519#FFFFFF#000000##FFFFFF
##3355191.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E11
Deuteranopia (green-blind)
#544B1E
Tritanopia (blue-blind)
#335249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #335519;
/* rgb */ color: rgb(51, 85, 25);
/* oklch */ color: oklch(40.9% 0.096 134.1);
Tailwind
colors: {
  custom: {
    50: '#6e8559',
    500: '#335519',
    950: '#000000',
  },
}
SCSS
$custom: #335519;
$custom-light: #6e8559;
$custom-dark: #000000;
JSON
{
  "hex": "#335519",
  "rgb": {
    "r": 51,
    "g": 85,
    "b": 25
  },
  "hsl": {
    "h": 94,
    "s": 54.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40926,
    "c": 0.09627,
    "h": 134.1
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#335519
secondary
#6A3E8B
accent
#4ADE9E
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #335519

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

Preview Lab → · Contrast checker → · Palette generator →

#335519 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva