#3F5317#3F5317

#3F5317 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.2% C 0.088 H 125.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#3F5317
RGBrgb(63, 83, 23)
HSLhsl(80, 57%, 21%)
HSVhsv(80, 72%, 33%)
CMYKcmyk(24.1%, 0%, 72.3%, 67.5%)
CIE-LABlab(32.49, -18.02, 31.36)
CIE-LCHlch(32.49, 36.17, 119.89°)
OKLaboklab(41.19% -0.0516 0.0713)
OKLCHoklch(41.19% 0.088 125.9)
XYZxyz(5.2978, 7.3051, 1.9414)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5317 #2B1753
analogous
#534917 #3F5317 #215317
triadic
#3F5317 #173F53 #53173F
tetradic
#3F5317 #175349 #2B1753 #531721
square
#3F5317 #175349 #2B1753 #531721
split-complementary
#3F5317 #172153 #491753
monochromatic
#121807 #1B230A #3F5317 #638324 #88B332

Accessibility & contrast

On white

8.53
#3F5317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3F5317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5317
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5317#FFFFFF#000000##FFFFFF
##3F53171.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0F
Deuteranopia (green-blind)
#554C1C
Tritanopia (blue-blind)
#424F47
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f5317;
/* rgb */ color: rgb(63, 83, 23);
/* oklch */ color: oklch(41.2% 0.088 125.9);
Tailwind
colors: {
  custom: {
    50: '#768358',
    500: '#3f5317',
    950: '#000000',
  },
}
SCSS
$custom: #3f5317;
$custom-light: #768358;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5317",
  "rgb": {
    "r": 63,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 80,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41189,
    "c": 0.088,
    "h": 125.9
  },
  "luminance": 0.07305
}

Semantic roles & 50–950 ramp

primary
#3F5317
secondary
#563C8A
accent
#48E07B
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F5317

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

Preview Lab → · Contrast checker → · Palette generator →

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