#3F571B#3F571B

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

Color values

HEX#3F571B
RGBrgb(63, 87, 27)
HSLhsl(84, 53%, 22%)
HSVhsv(84, 69%, 34%)
CMYKcmyk(27.6%, 0%, 69%, 65.9%)
CIE-LABlab(33.88, -19.81, 30.93)
CIE-LCHlch(33.88, 36.73, 122.64°)
OKLaboklab(42.33% -0.0561 0.071)
OKLCHoklch(42.33% 0.091 128.3)
XYZxyz(5.6559, 7.9522, 2.2736)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F571B #331B57
analogous
#57511B #3F571B #21571B
triadic
#3F571B #1B3F57 #571B3F
tetradic
#3F571B #1B5751 #331B57 #571B21
square
#3F571B #1B5751 #331B57 #571B21
split-complementary
#3F571B #1B2157 #511B57
monochromatic
#111707 #1D280D #3F571B #618629 #83B438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F571B#FFFFFF#000000##FFFFFF
##3F571B1.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)
#5B5113
Deuteranopia (green-blind)
#584F20
Tritanopia (blue-blind)
#41534B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f571b;
/* rgb */ color: rgb(63, 87, 27);
/* oklch */ color: oklch(42.3% 0.091 128.3);
Tailwind
colors: {
  custom: {
    50: '#76865a',
    500: '#3f571b',
    950: '#000000',
  },
}
SCSS
$custom: #3f571b;
$custom-light: #76865a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f571b",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 84,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42327,
    "c": 0.09051,
    "h": 128.3
  },
  "luminance": 0.07952
}

Semantic roles & 50–950 ramp

primary
#3F571B
secondary
#5F418D
accent
#4CDC85
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #3F571B

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

Preview Lab → · Contrast checker → · Palette generator →

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