#3F581F#3F581F

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

Color values

HEX#3F581F
RGBrgb(63, 88, 31)
HSLhsl(86, 48%, 23%)
HSVhsv(86, 65%, 35%)
CMYKcmyk(28.4%, 0%, 64.8%, 65.5%)
CIE-LABlab(34.26, -19.95, 29.35)
CIE-LCHlch(34.26, 35.49, 124.20°)
OKLaboklab(42.65% -0.0561 0.0682)
OKLCHoklch(42.65% 0.088 129.5)
XYZxyz(5.7869, 8.1350, 2.5614)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F581F #381F58
analogous
#58541F #3F581F #22581F
triadic
#3F581F #1F3F58 #581F3F
tetradic
#3F581F #1F5854 #381F58 #581F22
square
#3F581F #1F5854 #381F58 #581F22
split-complementary
#3F581F #1F2258 #541F58
monochromatic
#101708 #1F2B0F #3F581F #5F852F #80B33F

Accessibility & contrast

On white

7.99
#3F581F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3F581F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F581F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F581F#FFFFFF#000000##FFFFFF
##3F581F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5219
Deuteranopia (green-blind)
#595023
Tritanopia (blue-blind)
#41544C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f581f;
/* rgb */ color: rgb(63, 88, 31);
/* oklch */ color: oklch(42.6% 0.088 129.5);
Tailwind
colors: {
  custom: {
    50: '#76875d',
    500: '#3f581f',
    950: '#000000',
  },
}
SCSS
$custom: #3f581f;
$custom-light: #76875d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f581f",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 31
  },
  "hsl": {
    "h": 86.316,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42648,
    "c": 0.08831,
    "h": 129.5
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#3F581F
secondary
#65468D
accent
#50D78C
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #3F581F

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

Preview Lab → · Contrast checker → · Palette generator →

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