#3F571A#3F571A

#3F571A is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.3% C 0.091 H 128.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3F571A
RGBrgb(63, 87, 26)
HSLhsl(84, 54%, 22%)
HSVhsv(84, 70%, 34%)
CMYKcmyk(27.6%, 0%, 70.1%, 65.9%)
CIE-LABlab(33.87, -19.90, 31.40)
CIE-LCHlch(33.87, 37.18, 122.36°)
OKLaboklab(42.32% -0.0565 0.0718)
OKLCHoklch(42.32% 0.091 128.2)
XYZxyz(5.6445, 7.9476, 2.2137)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F571A #321A57
analogous
#57511A #3F571A #20571A
triadic
#3F571A #1A3F57 #571A3F
tetradic
#3F571A #1A5751 #321A57 #571A20
square
#3F571A #1A5751 #321A57 #571A20
split-complementary
#3F571A #1A2057 #511A57
monochromatic
#111807 #1D280C #3F571A #618628 #83B536

Accessibility & contrast

On white

8.11
#3F571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3F571A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F571A
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F571A#FFFFFF#000000##FFFFFF
##3F571A1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5112
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#41534A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f571a;
/* rgb */ color: rgb(63, 87, 26);
/* oklch */ color: oklch(42.3% 0.091 128.2);
Tailwind
colors: {
  custom: {
    50: '#76865a',
    500: '#3f571a',
    950: '#000000',
  },
}
SCSS
$custom: #3f571a;
$custom-light: #76865a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f571a",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 83.607,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42317,
    "c": 0.09138,
    "h": 128.2
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#3F571A
secondary
#5E408D
accent
#4ADD84
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #3F571A

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

Preview Lab → · Contrast checker → · Palette generator →

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