#3A540D#3A540D

#3A540D is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.0% C 0.099 H 128.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#3A540D
RGBrgb(58, 84, 13)
HSLhsl(82, 73%, 19%)
HSVhsv(82, 85%, 33%)
CMYKcmyk(31%, 0%, 84.5%, 67.1%)
CIE-LABlab(32.41, -21.48, 35.30)
CIE-LCHlch(32.41, 41.32, 121.31°)
OKLaboklab(41.01% -0.0616 0.0779)
OKLCHoklch(41.01% 0.099 128.3)
XYZxyz(4.9879, 7.2691, 1.5210)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A540D #270D54
analogous
#544B0D #3A540D #17540D
triadic
#3A540D #0D3A54 #540D3A
tetradic
#3A540D #0D544B #270D54 #540D17
square
#3A540D #0D544B #270D54 #540D17
split-complementary
#3A540D #0D1754 #4B0D54
monochromatic
#121A04 #151F05 #3A540D #5F8915 #83BE1D

Accessibility & contrast

On white

8.56
#3A540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3A540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3A540D#FFFFFF#000000##FFFFFF
##3A540D1.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)
#594D00
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#3C5047
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a540d;
/* rgb */ color: rgb(58, 84, 13);
/* oklch */ color: oklch(41.0% 0.099 128.3);
Tailwind
colors: {
  custom: {
    50: '#738453',
    500: '#3a540d',
    950: '#000000',
  },
}
SCSS
$custom: #3a540d;
$custom-light: #738453;
$custom-dark: #000000;
JSON
{
  "hex": "#3a540d",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 81.972,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.4101,
    "c": 0.09937,
    "h": 128.3
  },
  "luminance": 0.07269
}

Semantic roles & 50–950 ramp

primary
#3A540D
secondary
#512E8F
accent
#38F07B
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A540D

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

Preview Lab → · Contrast checker → · Palette generator →

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