#3F5218#3F5218

#3F5218 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.9% C 0.086 H 125.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#3F5218
RGBrgb(63, 82, 24)
HSLhsl(80, 55%, 21%)
HSVhsv(80, 71%, 32%)
CMYKcmyk(23.2%, 0%, 70.7%, 67.8%)
CIE-LABlab(32.16, -17.39, 30.54)
CIE-LCHlch(32.16, 35.14, 119.67°)
OKLaboklab(40.92% -0.0498 0.0697)
OKLCHoklch(40.92% 0.086 125.5)
XYZxyz(5.2321, 7.1572, 1.9698)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5218 #2B1852
analogous
#524818 #3F5218 #225218
triadic
#3F5218 #183F52 #52183F
tetradic
#3F5218 #185248 #2B1852 #521822
square
#3F5218 #185248 #2B1852 #521822
split-complementary
#3F5218 #182252 #481852
monochromatic
#121807 #1B230A #3F5218 #638126 #88B134

Accessibility & contrast

On white

8.64
#3F5218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3F5218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5218
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5218#FFFFFF#000000##FFFFFF
##3F52181.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C10
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#424E46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f5218;
/* rgb */ color: rgb(63, 82, 24);
/* oklch */ color: oklch(40.9% 0.086 125.5);
Tailwind
colors: {
  custom: {
    50: '#768258',
    500: '#3f5218',
    950: '#000000',
  },
}
SCSS
$custom: #3f5218;
$custom-light: #768258;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5218",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 79.655,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40925,
    "c": 0.08566,
    "h": 125.5
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#3F5218
secondary
#563D89
accent
#4ADE7A
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F5218

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

Preview Lab → · Contrast checker → · Palette generator →

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