#3F511B#3F511B

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

Color values

HEX#3F511B
RGBrgb(63, 81, 27)
HSLhsl(80, 50%, 21%)
HSVhsv(80, 67%, 32%)
CMYKcmyk(22.2%, 0%, 66.7%, 68.2%)
CIE-LABlab(31.85, -16.57, 28.72)
CIE-LCHlch(31.85, 33.16, 119.99°)
OKLaboklab(40.69% -0.0472 0.0663)
OKLCHoklch(40.69% 0.081 125.5)
XYZxyz(5.1902, 7.0207, 2.1184)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F511B #2D1B51
analogous
#51481B #3F511B #24511B
triadic
#3F511B #1B3F51 #511B3F
tetradic
#3F511B #1B5148 #2D1B51 #511B24
square
#3F511B #1B5148 #2D1B51 #511B24
split-complementary
#3F511B #1B2451 #481B51
monochromatic
#121708 #1B230C #3F511B #637F2A #86AD3A

Accessibility & contrast

On white

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

On black

2.40
#3F511B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3F511B#FFFFFF#000000##FFFFFF
##3F511B1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f511b;
/* rgb */ color: rgb(63, 81, 27);
/* oklch */ color: oklch(40.7% 0.081 125.5);
Tailwind
colors: {
  custom: {
    50: '#76825a',
    500: '#3f511b',
    950: '#000000',
  },
}
SCSS
$custom: #3f511b;
$custom-light: #76825a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f511b",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 80,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40685,
    "c": 0.08138,
    "h": 125.5
  },
  "luminance": 0.07021
}

Semantic roles & 50–950 ramp

primary
#3F511B
secondary
#584187
accent
#4EDA7D
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #3F511B

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

Preview Lab → · Contrast checker → · Palette generator →

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