#3F5717#3F5717

#3F5717 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.3% C 0.094 H 127.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3F5717
RGBrgb(63, 87, 23)
HSLhsl(83, 58%, 22%)
HSVhsv(83, 74%, 34%)
CMYKcmyk(27.6%, 0%, 73.6%, 65.9%)
CIE-LABlab(33.85, -20.15, 32.77)
CIE-LCHlch(33.85, 38.47, 121.59°)
OKLaboklab(42.29% -0.0575 0.0742)
OKLCHoklch(42.29% 0.094 127.7)
XYZxyz(5.6127, 7.9349, 2.0463)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5717 #2F1757
analogous
#574F17 #3F5717 #1F5717
triadic
#3F5717 #173F57 #57173F
tetradic
#3F5717 #17574F #2F1757 #57171F
square
#3F5717 #17574F #2F1757 #57171F
split-complementary
#3F5717 #171F57 #4F1757
monochromatic
#121806 #1C270A #3F5717 #628724 #85B831

Accessibility & contrast

On white

8.12
#3F5717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3F5717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5717
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5717#FFFFFF#000000##FFFFFF
##3F57171.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510E
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#41534A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f5717;
/* rgb */ color: rgb(63, 87, 23);
/* oklch */ color: oklch(42.3% 0.094 127.7);
Tailwind
colors: {
  custom: {
    50: '#768658',
    500: '#3f5717',
    950: '#000000',
  },
}
SCSS
$custom: #3f5717;
$custom-light: #768658;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5717",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 23
  },
  "hsl": {
    "h": 82.5,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42287,
    "c": 0.09388,
    "h": 127.7
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#3F5717
secondary
#5B3C8E
accent
#46E181
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F5717

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

Preview Lab → · Contrast checker → · Palette generator →

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