#3A5019#3A5019

#3A5019 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 40.0% C 0.084 H 128.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#3A5019
RGBrgb(58, 80, 25)
HSLhsl(84, 52%, 21%)
HSVhsv(84, 69%, 31%)
CMYKcmyk(27.5%, 0%, 68.8%, 68.6%)
CIE-LABlab(31.13, -18.47, 28.83)
CIE-LCHlch(31.13, 34.24, 122.65°)
OKLaboklab(40% -0.0523 0.0663)
OKLCHoklch(40% 0.084 128.3)
XYZxyz(4.7890, 6.7070, 1.9618)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5019 #2F1950
analogous
#504A19 #3A5019 #1E5019
triadic
#3A5019 #193A50 #50193A
tetradic
#3A5019 #19504A #2F1950 #50191E
square
#3A5019 #19504A #2F1950 #50191E
split-complementary
#3A5019 #191E50 #4A1950
monochromatic
#111707 #18210A #3A5019 #5C7F28 #7EAD36

Accessibility & contrast

On white

8.97
#3A5019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3A5019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5019
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5019#FFFFFF#000000##FFFFFF
##3A50191.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A12
Deuteranopia (green-blind)
#51491D
Tritanopia (blue-blind)
#3C4C44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a5019;
/* rgb */ color: rgb(58, 80, 25);
/* oklch */ color: oklch(40.0% 0.084 128.3);
Tailwind
colors: {
  custom: {
    50: '#728158',
    500: '#3a5019',
    950: '#000000',
  },
}
SCSS
$custom: #3a5019;
$custom-light: #728158;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5019",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 84,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39999,
    "c": 0.08448,
    "h": 128.3
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#3A5019
secondary
#5B3E86
accent
#4CDC86
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A5019

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

Preview Lab → · Contrast checker → · Palette generator →

#3A5019 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva