#3F501F#3F501F

#3F501F is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.5% C 0.076 H 125.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#3F501F
RGBrgb(63, 80, 31)
HSLhsl(81, 44%, 22%)
HSVhsv(81, 61%, 31%)
CMYKcmyk(21.2%, 0%, 61.2%, 68.6%)
CIE-LABlab(31.56, -15.61, 26.28)
CIE-LCHlch(31.56, 30.57, 120.71°)
OKLaboklab(40.46% -0.0441 0.0616)
OKLCHoklch(40.46% 0.076 125.6)
XYZxyz(5.1659, 6.8930, 2.3544)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F501F #301F50
analogous
#50491F #3F501F #27501F
triadic
#3F501F #1F3F50 #501F3F
tetradic
#3F501F #1F5049 #301F50 #501F27
square
#3F501F #1F5049 #301F50 #501F27
split-complementary
#3F501F #1F2750 #491F50
monochromatic
#111609 #1C240E #3F501F #627C30 #84A841

Accessibility & contrast

On white

8.83
#3F501F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3F501F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F501F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F501F#FFFFFF#000000##FFFFFF
##3F501F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1A
Deuteranopia (green-blind)
#524A22
Tritanopia (blue-blind)
#424C45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f501f;
/* rgb */ color: rgb(63, 80, 31);
/* oklch */ color: oklch(40.5% 0.076 125.6);
Tailwind
colors: {
  custom: {
    50: '#75815c',
    500: '#3f501f',
    950: '#000000',
  },
}
SCSS
$custom: #3f501f;
$custom-light: #75815c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f501f",
  "rgb": {
    "r": 63,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 80.816,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40464,
    "c": 0.07576,
    "h": 125.6
  },
  "luminance": 0.06893
}

Semantic roles & 50–950 ramp

primary
#3F501F
secondary
#5C4685
accent
#54D480
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #3F501F

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

Preview Lab → · Contrast checker → · Palette generator →

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