#3B540F#3B540F

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

Color values

HEX#3B540F
RGBrgb(59, 84, 15)
HSLhsl(82, 70%, 19%)
HSVhsv(82, 82%, 33%)
CMYKcmyk(29.8%, 0%, 82.1%, 67.1%)
CIE-LABlab(32.49, -20.92, 34.67)
CIE-LCHlch(32.49, 40.49, 121.11°)
OKLaboklab(41.1% -0.06 0.0769)
OKLCHoklch(41.1% 0.098 128)
XYZxyz(5.0602, 7.3048, 1.5952)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B540F #280F54
analogous
#544B0F #3B540F #19540F
triadic
#3B540F #0F3B54 #540F3B
tetradic
#3B540F #0F544B #280F54 #540F19
square
#3B540F #0F544B #280F54 #540F19
split-complementary
#3B540F #0F1954 #4B0F54
monochromatic
#121A05 #172006 #3B540F #5F8818 #84BC22

Accessibility & contrast

On white

8.53
#3B540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B540F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B540F#FFFFFF#000000##FFFFFF
##3B540F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b540f;
/* rgb */ color: rgb(59, 84, 15);
/* oklch */ color: oklch(41.1% 0.098 128.0);
Tailwind
colors: {
  custom: {
    50: '#748453',
    500: '#3b540f',
    950: '#000000',
  },
}
SCSS
$custom: #3b540f;
$custom-light: #748453;
$custom-dark: #000000;
JSON
{
  "hex": "#3b540f",
  "rgb": {
    "r": 59,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 81.739,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41096,
    "c": 0.09759,
    "h": 128
  },
  "luminance": 0.07305
}

Semantic roles & 50–950 ramp

primary
#3B540F
secondary
#53318E
accent
#3BED7C
background
#F7F8F4
surface
#EDEFE8
border
#C8CAC4
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3B540F

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

Preview Lab → · Contrast checker → · Palette generator →

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