#3F540D#3F540D

#3F540D is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.4% C 0.097 H 125.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3F540D
RGBrgb(63, 84, 13)
HSLhsl(78, 73%, 19%)
HSVhsv(78, 85%, 33%)
CMYKcmyk(25%, 0%, 84.5%, 67.1%)
CIE-LABlab(32.76, -19.23, 35.75)
CIE-LCHlch(32.76, 40.59, 118.28°)
OKLaboklab(41.38% -0.0559 0.0787)
OKLCHoklch(41.38% 0.097 125.4)
XYZxyz(5.2929, 7.4264, 1.5353)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F540D #220D54
analogous
#54460D #3F540D #1C540D
triadic
#3F540D #0D3F54 #540D3F
tetradic
#3F540D #0D5446 #220D54 #540D1C
square
#3F540D #0D5446 #220D54 #540D1C
split-complementary
#3F540D #0D1C54 #460D54
monochromatic
#141A04 #171F05 #3F540D #678915 #8EBE1D

Accessibility & contrast

On white

8.45
#3F540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3F540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F540D
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F540D#FFFFFF#000000##FFFFFF
##3F540D1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#564D14
Tritanopia (blue-blind)
#425047
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f540d;
/* rgb */ color: rgb(63, 84, 13);
/* oklch */ color: oklch(41.4% 0.097 125.4);
Tailwind
colors: {
  custom: {
    50: '#778453',
    500: '#3f540d',
    950: '#000000',
  },
}
SCSS
$custom: #3f540d;
$custom-light: #778453;
$custom-dark: #000000;
JSON
{
  "hex": "#3f540d",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 77.746,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41382,
    "c": 0.09654,
    "h": 125.4
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#3F540D
secondary
#4B2E8F
accent
#38F06E
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F540D

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

Preview Lab → · Contrast checker → · Palette generator →

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