#3F511C#3F511C

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

Color values

HEX#3F511C
RGBrgb(63, 81, 28)
HSLhsl(80, 49%, 21%)
HSVhsv(80, 65%, 32%)
CMYKcmyk(22.2%, 0%, 65.4%, 68.2%)
CIE-LABlab(31.86, -16.48, 28.21)
CIE-LCHlch(31.86, 32.67, 120.29°)
OKLaboklab(40.7% -0.0468 0.0654)
OKLCHoklch(40.7% 0.08 125.6)
XYZxyz(5.2019, 7.0254, 2.1804)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F511C #2E1C51
analogous
#51491C #3F511C #25511C
triadic
#3F511C #1C3F51 #511C3F
tetradic
#3F511C #1C5149 #2E1C51 #511C25
square
#3F511C #1C5149 #2E1C51 #511C25
split-complementary
#3F511C #1C2551 #491C51
monochromatic
#121708 #1C240C #3F511C #627E2C #86AC3B

Accessibility & contrast

On white

8.73
#3F511C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F511C
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F511C#FFFFFF#000000##FFFFFF
##3F511C1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C16
Deuteranopia (green-blind)
#534B20
Tritanopia (blue-blind)
#424D46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f511c;
/* rgb */ color: rgb(63, 81, 28);
/* oklch */ color: oklch(40.7% 0.080 125.6);
Tailwind
colors: {
  custom: {
    50: '#76825b',
    500: '#3f511c',
    950: '#000000',
  },
}
SCSS
$custom: #3f511c;
$custom-light: #76825b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f511c",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 80.377,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40698,
    "c": 0.08041,
    "h": 125.6
  },
  "luminance": 0.07025
}

Semantic roles & 50–950 ramp

primary
#3F511C
secondary
#594287
accent
#50D87E
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #3F511C

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

Preview Lab → · Contrast checker → · Palette generator →

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