#3F581A#3F581A

#3F581A is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.6% C 0.093 H 128.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#3F581A
RGBrgb(63, 88, 26)
HSLhsl(84, 54%, 22%)
HSVhsv(84, 70%, 35%)
CMYKcmyk(28.4%, 0%, 70.5%, 65.5%)
CIE-LABlab(34.21, -20.42, 31.76)
CIE-LCHlch(34.21, 37.76, 122.74°)
OKLaboklab(42.59% -0.0579 0.0726)
OKLCHoklch(42.59% 0.093 128.6)
XYZxyz(5.7261, 8.1107, 2.2409)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F581A #331A58
analogous
#58521A #3F581A #20581A
triadic
#3F581A #1A3F58 #581A3F
tetradic
#3F581A #1A5852 #331A58 #581A20
square
#3F581A #1A5852 #331A58 #581A20
split-complementary
#3F581A #1A2058 #521A58
monochromatic
#111807 #1D290C #3F581A #618728 #83B636

Accessibility & contrast

On white

8.01
#3F581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3F581A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F581A
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F581A#FFFFFF#000000##FFFFFF
##3F581A1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5212
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#41544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f581a;
/* rgb */ color: rgb(63, 88, 26);
/* oklch */ color: oklch(42.6% 0.093 128.6);
Tailwind
colors: {
  custom: {
    50: '#76875a',
    500: '#3f581a',
    950: '#000000',
  },
}
SCSS
$custom: #3f581a;
$custom-light: #76875a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f581a",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 84.194,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42591,
    "c": 0.09288,
    "h": 128.6
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#3F581A
secondary
#5F408E
accent
#4ADE86
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #3F581A

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

Preview Lab → · Contrast checker → · Palette generator →

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