#3B540E#3B540E

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

Color values

HEX#3B540E
RGBrgb(59, 84, 14)
HSLhsl(81, 71%, 19%)
HSVhsv(81, 83%, 33%)
CMYKcmyk(29.8%, 0%, 83.3%, 67.1%)
CIE-LABlab(32.48, -20.98, 35.03)
CIE-LCHlch(32.48, 40.83, 120.91°)
OKLaboklab(41.09% -0.0603 0.0775)
OKLCHoklch(41.09% 0.098 127.9)
XYZxyz(5.0532, 7.3020, 1.5586)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B540E #270E54
analogous
#544A0E #3B540E #18540E
triadic
#3B540E #0E3B54 #540E3B
tetradic
#3B540E #0E544A #270E54 #540E18
square
#3B540E #0E544A #270E54 #540E18
split-complementary
#3B540E #0E1854 #4A0E54
monochromatic
#121A04 #162005 #3B540E #608817 #85BD1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B540E#FFFFFF#000000##FFFFFF
##3B540E1.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)
#594D01
Deuteranopia (green-blind)
#554C15
Tritanopia (blue-blind)
#3D5047
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3b540e;
/* rgb */ color: rgb(59, 84, 14);
/* oklch */ color: oklch(41.1% 0.098 127.9);
Tailwind
colors: {
  custom: {
    50: '#748453',
    500: '#3b540e',
    950: '#000000',
  },
}
SCSS
$custom: #3b540e;
$custom-light: #748453;
$custom-dark: #000000;
JSON
{
  "hex": "#3b540e",
  "rgb": {
    "r": 59,
    "g": 84,
    "b": 14
  },
  "hsl": {
    "h": 81.429,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41089,
    "c": 0.0982,
    "h": 127.9
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#3B540E
secondary
#512F8E
accent
#3AEE7A
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3B540E

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

Preview Lab → · Contrast checker → · Palette generator →

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