#3F541B#3F541B

#3F541B is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.5% C 0.086 H 127.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#3F541B
RGBrgb(63, 84, 27)
HSLhsl(82, 51%, 22%)
HSVhsv(82, 68%, 33%)
CMYKcmyk(25%, 0%, 67.9%, 67.1%)
CIE-LABlab(32.87, -18.21, 29.83)
CIE-LCHlch(32.87, 34.95, 121.40°)
OKLaboklab(41.51% -0.0517 0.0687)
OKLCHoklch(41.51% 0.086 127)
XYZxyz(5.4181, 7.4765, 2.1943)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F541B #301B54
analogous
#544D1B #3F541B #23541B
triadic
#3F541B #1B3F54 #541B3F
tetradic
#3F541B #1B544D #301B54 #541B23
square
#3F541B #1B544D #301B54 #541B23
split-complementary
#3F541B #1B2354 #4D1B54
monochromatic
#111707 #1C260C #3F541B #62822A #84B139

Accessibility & contrast

On white

8.42
#3F541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3F541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F541B
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F541B#FFFFFF#000000##FFFFFF
##3F541B1.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E14
Deuteranopia (green-blind)
#564D1F
Tritanopia (blue-blind)
#415048
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f541b;
/* rgb */ color: rgb(63, 84, 27);
/* oklch */ color: oklch(41.5% 0.086 127.0);
Tailwind
colors: {
  custom: {
    50: '#76845a',
    500: '#3f541b',
    950: '#000000',
  },
}
SCSS
$custom: #3f541b;
$custom-light: #76845a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f541b",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 82.105,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41505,
    "c": 0.08595,
    "h": 127
  },
  "luminance": 0.07477
}

Semantic roles & 50–950 ramp

primary
#3F541B
secondary
#5C418A
accent
#4DDB81
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A04
muted
#7B7C79

Preview Lab

Preview with #3F541B

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

Preview Lab → · Contrast checker → · Palette generator →

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