#335019#335019

#335019 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.5% C 0.089 H 132.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#335019
RGBrgb(51, 80, 25)
HSLhsl(92, 52%, 21%)
HSVhsv(92, 69%, 31%)
CMYKcmyk(36.3%, 0%, 68.8%, 68.6%)
CIE-LABlab(30.67, -21.49, 28.19)
CIE-LCHlch(30.67, 35.45, 127.32°)
OKLaboklab(39.5% -0.0601 0.0651)
OKLCHoklch(39.5% 0.089 132.7)
XYZxyz(4.4093, 6.5111, 1.9440)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335019 #361950
analogous
#4E5019 #335019 #19501A
triadic
#335019 #193350 #501933
tetradic
#335019 #194E50 #361950 #501A19
square
#335019 #194E50 #361950 #501A19
split-complementary
#335019 #1A1950 #50194E
monochromatic
#0F1707 #15210A #335019 #517F28 #6EAD36

Accessibility & contrast

On white

9.12
#335019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#335019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335019
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335019#FFFFFF#000000##FFFFFF
##3350191.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A12
Deuteranopia (green-blind)
#4F471D
Tritanopia (blue-blind)
#334D44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #335019;
/* rgb */ color: rgb(51, 80, 25);
/* oklch */ color: oklch(39.5% 0.089 132.7);
Tailwind
colors: {
  custom: {
    50: '#6d8158',
    500: '#335019',
    950: '#000000',
  },
}
SCSS
$custom: #335019;
$custom-light: #6d8158;
$custom-dark: #000000;
JSON
{
  "hex": "#335019",
  "rgb": {
    "r": 51,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 91.636,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39501,
    "c": 0.08861,
    "h": 132.7
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#335019
secondary
#643E86
accent
#4CDC98
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #335019

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

Preview Lab → · Contrast checker → · Palette generator →

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