#3F5813#3F5813

#3F5813 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.5% C 0.098 H 127.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3F5813
RGBrgb(63, 88, 19)
HSLhsl(82, 64%, 21%)
HSVhsv(82, 78%, 35%)
CMYKcmyk(28.4%, 0%, 78.4%, 65.5%)
CIE-LABlab(34.16, -20.97, 34.80)
CIE-LCHlch(34.16, 40.63, 121.07°)
OKLaboklab(42.53% -0.0601 0.0778)
OKLCHoklch(42.53% 0.098 127.7)
XYZxyz(5.6572, 8.0831, 1.8781)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5813 #2C1358
analogous
#584E13 #3F5813 #1C5813
triadic
#3F5813 #133F58 #58133F
tetradic
#3F5813 #13584E #2C1358 #58131C
square
#3F5813 #13584E #2C1358 #58131C
split-complementary
#3F5813 #131C58 #4E1358
monochromatic
#121905 #1B2608 #3F5813 #638A1E #87BD29

Accessibility & contrast

On white

8.03
#3F5813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3F5813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5813
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5813#FFFFFF#000000##FFFFFF
##3F58131.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5106
Deuteranopia (green-blind)
#595019
Tritanopia (blue-blind)
#42544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f5813;
/* rgb */ color: rgb(63, 88, 19);
/* oklch */ color: oklch(42.5% 0.098 127.7);
Tailwind
colors: {
  custom: {
    50: '#778756',
    500: '#3f5813',
    950: '#000000',
  },
}
SCSS
$custom: #3f5813;
$custom-light: #778756;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5813",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 81.739,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42527,
    "c": 0.09832,
    "h": 127.7
  },
  "luminance": 0.08083
}

Semantic roles & 50–950 ramp

primary
#3F5813
secondary
#573790
accent
#40E77D
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F5813

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

Preview Lab → · Contrast checker → · Palette generator →

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