#3F5712#3F5712

#3F5712 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.2% C 0.098 H 127.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3F5712
RGBrgb(63, 87, 18)
HSLhsl(81, 66%, 21%)
HSVhsv(81, 79%, 34%)
CMYKcmyk(27.6%, 0%, 79.3%, 65.9%)
CIE-LABlab(33.81, -20.51, 34.86)
CIE-LCHlch(33.81, 40.45, 120.47°)
OKLaboklab(42.24% -0.0589 0.0778)
OKLCHoklch(42.24% 0.098 127.2)
XYZxyz(5.5673, 7.9167, 1.8069)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5712 #2A1257
analogous
#574C12 #3F5712 #1C5712
triadic
#3F5712 #123F57 #57123F
tetradic
#3F5712 #12574C #2A1257 #57121C
square
#3F5712 #12574C #2A1257 #57121C
split-complementary
#3F5712 #121C57 #4C1257
monochromatic
#121905 #1A2408 #3F5712 #648A1C #88BC27

Accessibility & contrast

On white

8.13
#3F5712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3F5712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5712
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5712#FFFFFF#000000##FFFFFF
##3F57121.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5005
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#42534A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f5712;
/* rgb */ color: rgb(63, 87, 18);
/* oklch */ color: oklch(42.2% 0.098 127.2);
Tailwind
colors: {
  custom: {
    50: '#778655',
    500: '#3f5712',
    950: '#000000',
  },
}
SCSS
$custom: #3f5712;
$custom-light: #778655;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5712",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 80.87,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42244,
    "c": 0.09759,
    "h": 127.2
  },
  "luminance": 0.07917
}

Semantic roles & 50–950 ramp

primary
#3F5712
secondary
#553590
accent
#3FE97A
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F5712

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

Preview Lab → · Contrast checker → · Palette generator →

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