#3F510D#3F510D

#3F510D is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.6% C 0.092 H 123.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3F510D
RGBrgb(63, 81, 13)
HSLhsl(76, 72%, 18%)
HSVhsv(76, 84%, 32%)
CMYKcmyk(22.2%, 0%, 84%, 68.2%)
CIE-LABlab(31.74, -17.62, 34.80)
CIE-LCHlch(31.74, 39.01, 116.85°)
OKLaboklab(40.56% -0.0515 0.0767)
OKLCHoklch(40.56% 0.092 123.9)
XYZxyz(5.0650, 6.9706, 1.4593)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F510D #1F0D51
analogous
#51410D #3F510D #1D510D
triadic
#3F510D #0D3F51 #510D3F
tetradic
#3F510D #0D5141 #1F0D51 #510D1D
square
#3F510D #0D5141 #1F0D51 #510D1D
split-complementary
#3F510D #0D1D51 #410D51
monochromatic
#151A04 #161C05 #3F510D #688615 #91BA1E

Accessibility & contrast

On white

8.77
#3F510D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3F510D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F510D
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F510D#FFFFFF#000000##FFFFFF
##3F510D1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#434D44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f510d;
/* rgb */ color: rgb(63, 81, 13);
/* oklch */ color: oklch(40.6% 0.092 123.9);
Tailwind
colors: {
  custom: {
    50: '#778252',
    500: '#3f510d',
    950: '#000000',
  },
}
SCSS
$custom: #3f510d;
$custom-light: #778252;
$custom-dark: #000000;
JSON
{
  "hex": "#3f510d",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 13
  },
  "hsl": {
    "h": 75.882,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.40557,
    "c": 0.09241,
    "h": 123.9
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#3F510D
secondary
#472E8C
accent
#39EF69
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #3F510D

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

Preview Lab → · Contrast checker → · Palette generator →

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