#3F511F#3F511F

#3F511F is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.7% C 0.077 H 126.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#3F511F
RGBrgb(63, 81, 31)
HSLhsl(82, 45%, 22%)
HSVhsv(82, 62%, 32%)
CMYKcmyk(22.2%, 0%, 61.7%, 68.2%)
CIE-LABlab(31.90, -16.17, 26.67)
CIE-LCHlch(31.90, 31.19, 121.22°)
OKLaboklab(40.74% -0.0457 0.0624)
OKLCHoklch(40.74% 0.077 126.2)
XYZxyz(5.2396, 7.0405, 2.3790)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F511F #311F51
analogous
#514A1F #3F511F #26511F
triadic
#3F511F #1F3F51 #511F3F
tetradic
#3F511F #1F514A #311F51 #511F26
square
#3F511F #1F514A #311F51 #511F26
split-complementary
#3F511F #1F2651 #4A1F51
monochromatic
#111608 #1D250E #3F511F #617D30 #84AA41

Accessibility & contrast

On white

8.72
#3F511F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3F511F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F511F
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F511F#FFFFFF#000000##FFFFFF
##3F511F1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1A
Deuteranopia (green-blind)
#534B22
Tritanopia (blue-blind)
#414D46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f511f;
/* rgb */ color: rgb(63, 81, 31);
/* oklch */ color: oklch(40.7% 0.077 126.2);
Tailwind
colors: {
  custom: {
    50: '#75825c',
    500: '#3f511f',
    950: '#000000',
  },
}
SCSS
$custom: #3f511f;
$custom-light: #75825c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f511f",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 81.6,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40736,
    "c": 0.07735,
    "h": 126.2
  },
  "luminance": 0.07041
}

Semantic roles & 50–950 ramp

primary
#3F511F
secondary
#5D4686
accent
#53D482
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #3F511F

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

Preview Lab → · Contrast checker → · Palette generator →

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