#3B540D#3B540D

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

Color values

HEX#3B540D
RGBrgb(59, 84, 13)
HSLhsl(81, 73%, 19%)
HSVhsv(81, 85%, 33%)
CMYKcmyk(29.8%, 0%, 84.5%, 67.1%)
CIE-LABlab(32.48, -21.03, 35.39)
CIE-LCHlch(32.48, 41.17, 120.73°)
OKLaboklab(41.08% -0.0605 0.0781)
OKLCHoklch(41.08% 0.099 127.8)
XYZxyz(5.0466, 7.2994, 1.5237)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B540D #260D54
analogous
#544A0D #3B540D #18540D
triadic
#3B540D #0D3B54 #540D3B
tetradic
#3B540D #0D544A #260D54 #540D18
square
#3B540D #0D544A #260D54 #540D18
split-complementary
#3B540D #0D1854 #4A0D54
monochromatic
#131A04 #161F05 #3B540D #608915 #85BE1D

Accessibility & contrast

On white

8.54
#3B540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3B540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B540D
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B540D#FFFFFF#000000##FFFFFF
##3B540D1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594D00
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#3D5047
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3b540d;
/* rgb */ color: rgb(59, 84, 13);
/* oklch */ color: oklch(41.1% 0.099 127.8);
Tailwind
colors: {
  custom: {
    50: '#748453',
    500: '#3b540d',
    950: '#000000',
  },
}
SCSS
$custom: #3b540d;
$custom-light: #748453;
$custom-dark: #000000;
JSON
{
  "hex": "#3b540d",
  "rgb": {
    "r": 59,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 81.127,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41082,
    "c": 0.09879,
    "h": 127.8
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#3B540D
secondary
#502E8F
accent
#38F079
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3B540D

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

Preview Lab → · Contrast checker → · Palette generator →

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